diff options
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,7 +1,9 @@ from src.ogClient import *
from src.ogConfig import *
+from signal import signal, SIGPIPE, SIG_DFL
def main():
+ signal(SIGPIPE, SIG_DFL)
ogconfig = ogConfig()
if (not ogconfig.parserFile('cfg/ogagent.cfg')):
print ('Error: Parsing configuration file')
|