exit on error
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
if [[ -d /usr/local/nginx ]]; then
|
if [[ -d /usr/local/nginx ]]; then
|
||||||
rm -rf /usr/local/nginx
|
rm -rf /usr/local/nginx
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user