fix: set exit_code variable

This commit is contained in:
Jose Diaz-Gonzalez committed 2024-03-13 22:21:04 -04:00
1 parent 5d8ccee919
commit 34768ca5b4
1 file changed
+1 -1
+1 -1
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