Commit 899ba4c9 by James Tanner

Fixes syntax error in cron module caused by #6870

parent 26ce8dac
......@@ -353,7 +353,7 @@ class CronTab(object):
if platform.system() == 'SunOS':
return "su %s -c '%s -l'" % (pipes.quote(self.user), pipes.quote(CRONCMD))
elif platform.system() == 'AIX':
return "%s -l %s" % (pipes.quote(CRONCMD), (pipes.quote(self.user))
return "%s -l %s" % (pipes.quote(CRONCMD), pipes.quote(self.user))
else:
user = '-u %s' % pipes.quote(self.user)
return "%s %s %s" % (CRONCMD , user, '-l')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment