diff options
| author | Seth Vidal <skvidal@fedoraproject.org> | 2013-04-16 18:19:45 +0000 |
|---|---|---|
| committer | Seth Vidal <skvidal@fedoraproject.org> | 2013-04-16 18:19:45 +0000 |
| commit | 23a84595fef68cad66df3a49637496b0e0ad2dbd (patch) | |
| tree | c826719d1a60dd02fe28a749edfe823820431412 /library | |
| parent | 129508a04844a6352a8cf56d6244029825353e8c (diff) | |
| download | ansible-23a84595fef68cad66df3a49637496b0e0ad2dbd.tar.gz ansible-23a84595fef68cad66df3a49637496b0e0ad2dbd.tar.xz ansible-23a84595fef68cad66df3a49637496b0e0ad2dbd.zip | |
catch all the other errors?
Diffstat (limited to 'library')
| -rwxr-xr-x | library/cron | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/cron b/library/cron index 0f1cef703..624166f16 100755 --- a/library/cron +++ b/library/cron @@ -152,6 +152,8 @@ def install_jobs(module, user, tmpfile, cron_file): module.atomic_replace(dest_tmp, cron_file) except (OSError, IOError), e: return (1, "", str(e)) + except: + return (1, "", str(e)) else: return (0, "", "") |
