summaryrefslogtreecommitdiffstats
path: root/module/ThreadManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/ThreadManager.py')
-rw-r--r--module/ThreadManager.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index 6d7171222..30c3630b1 100644
--- a/module/ThreadManager.py
+++ b/module/ThreadManager.py
@@ -130,11 +130,13 @@ class ThreadManager:
self.log.debug(_("Old IP: %s") % ip)
try:
- reconn = Popen(self.core.config['reconnect']['method'], bufsize=-1)#, stdout=subprocess.PIPE)
+ reconn = Popen(self.core.config['reconnect']['method'], bufsize=-1, shell=True)#, stdout=subprocess.PIPE)
except:
self.log.warning(_("Failed executing reconnect script!"))
self.core.config["reconnect"]["activated"] = False
self.reconnecting.clear()
+ if self.core.debug:
+ print_exc()
return
reconn.wait()