]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #3546 from Strubbl/fix-2957-abort-update-on-error
authorKevin Decherf <kevin@kdecherf.com>
Wed, 3 Jan 2018 20:00:43 +0000 (21:00 +0100)
committerGitHub <noreply@github.com>
Wed, 3 Jan 2018 20:00:43 +0000 (21:00 +0100)
add `set -eu` to update.sh

scripts/update.sh

index e6ed58b7bf482506c9ceb9252fe1f6493851b1c9..d0598135c459da808123851f231e46bdfcafa325 100644 (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}"