Exit with exit code from ssh command
This commit is contained in:
1 parent
34895630fd
commit
0af71abe12
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user