Ensure we exit with the proper status code

This commit is contained in:
Jose Diaz-Gonzalez
2015-11-08 15:33:15 -05:00
parent 3585ee8612
commit 7307b385d8

2
dokku
View File

@@ -51,7 +51,7 @@ fi
if [[ $(id -un) != "dokku" && $1 != plugin:*install* && $1 != "plugin:update" ]]; then
sudo -u dokku -E -H $0 "$@"
exit
exit $?
fi
if [[ -n "$SSH_ORIGINAL_COMMAND" ]]; then