Merge "Keep the Usage of exit()/sys.exit() Consistent"
This commit is contained in:
commit
ebe61381c2
@ -59,7 +59,7 @@ Lists old Swift processes.
|
||||
listing.append((str(hours), pid, args))
|
||||
|
||||
if not listing:
|
||||
exit()
|
||||
sys.exit()
|
||||
|
||||
hours_len = len('Hours')
|
||||
pid_len = len('PID')
|
||||
|
@ -93,7 +93,7 @@ Example (sends SIGTERM to all orphaned Swift processes older than two hours):
|
||||
listing.append((str(hours), pid, args))
|
||||
|
||||
if not listing:
|
||||
exit()
|
||||
sys.exit()
|
||||
|
||||
hours_len = len('Hours')
|
||||
pid_len = len('PID')
|
||||
|
Loading…
Reference in New Issue
Block a user