summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-06-21 14:45:23 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-06-21 14:45:23 +0200
commit8231f6d5bff5ac6a1de04493ac41dec7f8f2b819 (patch)
treee8bdf7a0275f713cb0cc07eec23fc20a2bccec91
parentbce63560dd3f3f031ef376175667db79a04856d2 (diff)
downloaddeployment-8231f6d5bff5ac6a1de04493ac41dec7f8f2b819.tar.gz
deployment-8231f6d5bff5ac6a1de04493ac41dec7f8f2b819.tar.bz2
deployment-8231f6d5bff5ac6a1de04493ac41dec7f8f2b819.zip
exit code in switcher
-rwxr-xr-xtaler-build/switch_active.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/taler-build/switch_active.sh b/taler-build/switch_active.sh
index 3ca05e1..acbb1c5 100755
--- a/taler-build/switch_active.sh
+++ b/taler-build/switch_active.sh
@@ -28,6 +28,7 @@ fi
# FIXME calling 'make check' before switching still missing
if ! taler-deployment-build; then
echo "Failed to rebuild, not switching"
+ exit 1
else
echo "Successfully built, switching"
ln -fs -T /home/$INACTIVE/sockets /home/test/sockets