lemonbar: Fix exception after KeyboardInterrupt

This commit is contained in:
kuben
2019-12-29 23:55:50 +01:00
committed by Jakub Fojt
parent c4e760d5e7
commit 3ad338dbe4

View File

@@ -87,7 +87,7 @@ def clean_up():
nice_delete(config.fifo_file_status)
nice_term(p_conky_slow)
modules.stop_all()
sys.exit(0)
os._exit(0)
def keep_fifo_open():
with open(config.fifo_file_status, 'w', buffering=1) as fifo_write: