-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Description
In hangover script (python), it should check if there's a terminal open then exit, where as it checks if there's no session then exit.
Line 15-18
# exit if no sessions with my username are found
output = subprocess.check_output('who')
if 'my_username' not in output:
sys.exit()
should be
# exit if no sessions with my username are found
output = subprocess.check_output('who')
if 'my_username' in output:
sys.exit()
Metadata
Metadata
Assignees
Labels
No labels