Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
raidensakura committed Jun 6, 2023
1 parent 13b0f24 commit 1b1d046
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/scripts/loadcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
# let Modmail boot up
time.sleep(10)

exit_code = 1 if proc.poll() else 0

print("Stopping Modmail")

proc.terminate()

sys.exit()
sys.exit(exit_code)

0 comments on commit 1b1d046

Please sign in to comment.