From 8231f6d5bff5ac6a1de04493ac41dec7f8f2b819 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 21 Jun 2016 14:45:23 +0200 Subject: exit code in switcher --- taler-build/switch_active.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'taler-build/switch_active.sh') 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 -- cgit v1.2.3