Update ssyslog.py

This commit is contained in:
rmchale 2022-12-12 14:30:39 -06:00 committed by Brian May
parent b8e6ebf741
commit f23b24b74e

View File

@ -10,7 +10,7 @@ def start_syslog():
global _p global _p
with open(os.devnull, 'w') as devnull: with open(os.devnull, 'w') as devnull:
_p = ssubprocess.Popen( _p = ssubprocess.Popen(
['logger', '-p', 'daemon.notice', '-t', 'sshuttle'], ['logger', '-p', 'daemon.err', '-t', 'sshuttle'],
stdin=ssubprocess.PIPE, stdin=ssubprocess.PIPE,
stdout=devnull, stdout=devnull,
stderr=devnull stderr=devnull