From 38983bf892d6819f67ed11770d3ffc44659576f9 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Tue, 16 Apr 2013 18:22:15 +0000 Subject: [PATCH] okay, what the hell? --- library/cron | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/cron b/library/cron index 624166f164..d32a4d6913 100755 --- a/library/cron +++ b/library/cron @@ -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: