mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 00:52:16 -06:00
sfx: dont hang supervisors
This commit is contained in:
parent
f2cd0b0c4a
commit
8a5d0399dd
|
@ -364,11 +364,12 @@ def utime(top):
|
|||
def confirm(rv):
|
||||
msg()
|
||||
msg("retcode", rv if rv else traceback.format_exc())
|
||||
msg("*** hit enter to exit ***")
|
||||
try:
|
||||
raw_input() if PY2 else input()
|
||||
except:
|
||||
pass
|
||||
if WINDOWS:
|
||||
msg("*** hit enter to exit ***")
|
||||
try:
|
||||
raw_input() if PY2 else input()
|
||||
except:
|
||||
pass
|
||||
|
||||
sys.exit(rv or 1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue