okay, what the hell?
This commit is contained in:
parent
23a84595fe
commit
38983bf892
1 changed files with 3 additions and 3 deletions
|
@ -151,11 +151,11 @@ def install_jobs(module, user, tmpfile, cron_file):
|
|||
try:
|
||||
module.atomic_replace(dest_tmp, cron_file)
|
||||
except (OSError, IOError), e:
|
||||
return (1, "", str(e))
|
||||
return (0, "", str(e))
|
||||
except:
|
||||
return (1, "", str(e))
|
||||
return (0, "", str(e))
|
||||
else:
|
||||
return (0, "", "")
|
||||
return (1, "", "")
|
||||
|
||||
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue