aboutsummaryrefslogtreecommitdiff
path: root/contrib/verifybinaries
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-10-04 21:19:45 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-10-18 17:09:36 +0200
commit1e44ae0e198b0bc3c4363774a27a3e72a5c2a47b (patch)
treedd31098a6ed363911b6384a11455dd8977e4d4ca /contrib/verifybinaries
parentb9e79ab415996964cfdfaaa0f8dddbcda8aa7d32 (diff)
Add error handling: exit if cd fails
Diffstat (limited to 'contrib/verifybinaries')
-rwxr-xr-xcontrib/verifybinaries/verify.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/verifybinaries/verify.sh b/contrib/verifybinaries/verify.sh
index 320add64d0..bf2a10337d 100755
--- a/contrib/verifybinaries/verify.sh
+++ b/contrib/verifybinaries/verify.sh
@@ -33,7 +33,7 @@ if [ ! -d "$WORKINGDIR" ]; then
mkdir "$WORKINGDIR"
fi
-cd "$WORKINGDIR"
+cd "$WORKINGDIR" || exit 1
#test if a version number has been passed as an argument
if [ -n "$1" ]; then