fixing stale pid file bug

This commit is contained in:
brent s 2020-08-16 12:59:48 -04:00
parent 473833a58f
commit 0febad432a
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -405,7 +405,6 @@ def main():
else:
# It's a stale PID file.
os.remove(self_pidfile)
else:
with open(self_pidfile, 'w') as f:
f.write(str(os.getpid()) + '\n')
_chkfile = '/etc/ssh/.aif-generated'