fix: set exit_code variable

This commit is contained in:
Jose Diaz-Gonzalez
2024-03-13 08:06:00 -04:00
parent 5d8ccee919
commit 34768ca5b4

2
dokku
View File

@@ -109,7 +109,7 @@ if [[ -n "$SSH_ORIGINAL_COMMAND" ]]; then
exit_code=0
set -f
xargs $0 <<<$SSH_ORIGINAL_COMMAND
echo $?
exit_code=$?
set +f
exit $exit_code
fi