add set -eu to update.sh

fixes #2957
This commit is contained in:
Sven Fischer 2018-01-03 05:33:43 +01:00
parent 2679eb9d84
commit f3e71b5dd5

View file

@ -2,6 +2,9 @@
# You can execute this file to update wallabag
# eg: `sh update.sh prod`
set -e
set -u
COMPOSER_COMMAND='composer'
DIR="${BASH_SOURCE}"