Fix generate_config script

master
André Peters 2018-02-28 20:08:20 +01:00
parent 662b542264
commit 450c0e936d
1 changed files with 1 additions and 3 deletions

View File

@ -1,8 +1,6 @@
#!/bin/bash #!/bin/bash
+#exit on error and pipefail set -o pipefail
+set -o errexit
+set -o pipefail
if grep --help 2>&1 | grep -q -i "busybox"; then if grep --help 2>&1 | grep -q -i "busybox"; then
echo "BusybBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\"" echo "BusybBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\""