Updated to return exit code from bot

This commit is contained in:
Anon 2022-10-08 17:33:03 -07:00
parent 6bd67334a9
commit 6d34b40b9c

4
run.sh
View File

@ -30,6 +30,10 @@ cd "$RUN_DIR"
source "$VENV" source "$VENV"
"$ENTRY" "$@" "$ENTRY" "$@"
RETURN_CODE="$?"
# Cleanup # Cleanup
deactivate deactivate
cd - > /dev/null cd - > /dev/null
exit "$RETURN_CODE"