From 0af71abe1213329a31d0d41f7ec8a64454bb5a14 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 14 Jan 2015 04:22:10 -0500 Subject: [PATCH] Exit with exit code from ssh command --- contrib/dokku_client.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/dokku_client.sh b/contrib/dokku_client.sh index 3681697b8..d7b8bae35 100755 --- a/contrib/dokku_client.sh +++ b/contrib/dokku_client.sh @@ -24,7 +24,7 @@ if [[ ! -z $DOKKU_HOST ]]; then if [[ -z "$donotshift" ]]; then ssh dokku@$DOKKU_HOST $* - exit + exit $? fi verb=$1