fix variable name after recent refactoring
This commit is contained in:
parent
7ba80d7e29
commit
c5299326a8
@ -64,9 +64,9 @@ usage: %s [-h] [-q] [-v] [-s server] [-p port] [-P port] [-S address] [-c count]
|
||||
|
||||
def signal_handler(sig, frame):
|
||||
global shutdown
|
||||
if should_stop: # pressed twice, so exit immediately
|
||||
if shutdown: # pressed twice, so exit immediately
|
||||
exit(0)
|
||||
should_stop = True # pressed once, exit gracefully
|
||||
shutdown = True # pressed once, exit gracefully
|
||||
|
||||
|
||||
def main():
|
||||
|
Loading…
x
Reference in New Issue
Block a user