mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
more coverage
This commit is contained in:
@@ -85,10 +85,8 @@ def main():
|
||||
cmd = commands.get(args[0], showUsage)
|
||||
code = cmd(args[1:])
|
||||
finally:
|
||||
try:
|
||||
if os.path.exists(lockFile):
|
||||
os.remove(lockFile)
|
||||
except Exception:
|
||||
print("Lock file (" + lockFile + ") already removed")
|
||||
|
||||
sys.exit(code)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user