summaryrefslogtreecommitdiff
path: root/src/daemon.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon.py')
-rwxr-xr-xsrc/daemon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon.py b/src/daemon.py
index 4b4c0b79..bd6dbd85 100755
--- a/src/daemon.py
+++ b/src/daemon.py
@@ -40,7 +40,7 @@ class Executor(threading.Thread):
def run(self):
log.info('executing %s' % (self.command.strip(),))
- command = shlex.split(self.command)
+ command = shlex.split('sh -c "%s"' % self.command)
subprocess.call(command)
def main():