summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lorrycontroller/confparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lorrycontroller/confparser.py b/lorrycontroller/confparser.py
index 7dae82e..e8b78d8 100644
--- a/lorrycontroller/confparser.py
+++ b/lorrycontroller/confparser.py
@@ -317,7 +317,7 @@ class LorryControllerConfig(object):
command]
cmdargs.extend(args)
# run the command
- exit, out, err = self.app.maybe_runcmd(cmd_args, dry=dry)
+ exit, out, err = self.app.maybe_runcmd(cmdargs, dry=dry)
else:
# construct a url which will return the command output
query_string = '%s %s' % (command, ' '.join(args))