exit on error

This commit is contained in:
2018-01-12 22:54:38 +01:00
parent 35645a7ec0
commit 63bacde853

View File

@@ -1,5 +1,7 @@
#!/bin/bash
set -e
if [[ -d /usr/local/nginx ]]; then
rm -rf /usr/local/nginx
fi