Merge branch 'master' of square-r00t.net:optools into master

This commit is contained in:
brent s. 2020-08-23 00:04:10 -04:00
commit b0fba9b441
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
1 changed files with 2 additions and 3 deletions

View File

@ -405,9 +405,8 @@ 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')
with open(self_pidfile, 'w') as f:
f.write(str(os.getpid()) + '\n')
_chkfile = '/etc/ssh/.aif-generated'
if not os.path.isfile(_chkfile):
# Warning: The moduli stuff can take a LONG time to run. Hours.