Exit with exit code from ssh command

This commit is contained in:
Jose Diaz-Gonzalez committed 2015-01-16 16:57:26 -05:00
1 parent 34895630fd
commit 0af71abe12
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@ if [[ ! -z $DOKKU_HOST ]]; then
if [[ -z "$donotshift" ]]; then if [[ -z "$donotshift" ]]; then
ssh dokku@$DOKKU_HOST $* ssh dokku@$DOKKU_HOST $*
exit exit $?
fi fi
verb=$1 verb=$1