diff --git a/library/system/cron b/library/system/cron index a85bdd5797..32e7e872f0 100644 --- a/library/system/cron +++ b/library/system/cron @@ -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')