From a77caae0663c7146c16a46e0d319f2c171854046 Mon Sep 17 00:00:00 2001 From: Anon Date: Sat, 8 Oct 2022 17:51:06 -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 cfe290d..05ef83c 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"