diff --git a/system/cron.py b/system/cron.py index c9023845b29..28fe8a7c939 100644 --- a/system/cron.py +++ b/system/cron.py @@ -383,7 +383,7 @@ class CronTab(object): return "chown %s %s ; su '%s' -c '%s %s'" % (pipes.quote(self.user), pipes.quote(path), pipes.quote(self.user), CRONCMD, pipes.quote(path)) else: user = '-u %s' % pipes.quote(self.user) - return "%s %s %s" % (CRONCMD , user, pipes.quote(path)) + return "%s %s %s" % (CRONCMD , pipes.quote(path), user)