fix variable name after recent refactoring

This commit is contained in:
Babak Farrokhi 2016-05-09 11:24:22 +04:30
parent 7ba80d7e29
commit c5299326a8
Signed by: farrokhi
GPG Key ID: 6B267AD85D632E9A

View File

@ -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():