Skip to content

Commit

Permalink
Fixes syntax error in cron module caused by ansible#6870
Browse files Browse the repository at this point in the history
  • Loading branch information
jctanner committed Apr 8, 2014
1 parent 26ce8da commit 899ba4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/system/cron
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 899ba4c

Please sign in to comment.