Skip to content

Commit

Permalink
#465 - fixed misleading error for -h
Browse files Browse the repository at this point in the history
  • Loading branch information
Hermann Romanek committed Apr 2, 2024
1 parent 1e47c23 commit 7d42000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sniffles/sniffles
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ if __name__ == "__main__":

try:
Sniffles2_Main(processes)
except util.Sniffles2Exit:
except (util.Sniffles2Exit, SystemExit):
if len(processes):
# Allow time for child process error messages to propagate
print("Sniffles2Main: Shutting down workers")
Expand Down

0 comments on commit 7d42000

Please sign in to comment.