From 9975eaab6323d6446638d4c3b35caf38a0e9b344 Mon Sep 17 00:00:00 2001 From: Anon Date: Sat, 8 Oct 2022 17:33:25 -0700 Subject: [PATCH] Updated to return exit code from bot --- run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/run.sh b/run.sh index 0404489..e82a142 100755 --- a/run.sh +++ b/run.sh @@ -30,6 +30,10 @@ cd "$RUN_DIR" source "$VENV" "$ENTRY" "$@" +RETURN_CODE="$?" + # Cleanup deactivate cd - > /dev/null + +exit "$RETURN_CODE"