From 23a84595fef68cad66df3a49637496b0e0ad2dbd Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Tue, 16 Apr 2013 18:19:45 +0000 Subject: [PATCH] catch all the other errors? --- library/cron | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/cron b/library/cron index 0f1cef7036..624166f164 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, "", "")