Ensure we exit with the proper status code
This commit is contained in:
1 parent
3585ee8612
commit
7307b385d8
1 file changed
+1
-1
@@ -51,7 +51,7 @@ fi
|
|||||||
|
|
||||||
if [[ $(id -un) != "dokku" && $1 != plugin:*install* && $1 != "plugin:update" ]]; then
|
if [[ $(id -un) != "dokku" && $1 != plugin:*install* && $1 != "plugin:update" ]]; then
|
||||||
sudo -u dokku -E -H $0 "$@"
|
sudo -u dokku -E -H $0 "$@"
|
||||||
exit
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "$SSH_ORIGINAL_COMMAND" ]]; then
|
if [[ -n "$SSH_ORIGINAL_COMMAND" ]]; then
|
||||||
|
|||||||
Reference in new issue
Block a user