mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-26 06:27:50 +02: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