Commit 7d0b921e authored by Antoine Catton's avatar Antoine Catton

Add exit at the end of cleanup

parent b41a7aa0
......@@ -36,6 +36,7 @@ import logging.handlers
import signal
import subprocess
import argparse
import sys
cleanup_data = {}
......@@ -53,6 +54,7 @@ def cleanup(signum=None, frame=None):
function(item)
except:
pass
sys.exit()
signal.signal(signal.SIGTERM, cleanup)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment