From 807e3decc216c9973336fb757a12592ac58f53c0 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Fri, 23 Jul 2010 10:22:27 +0200 Subject: [PATCH] cron: Do not exit with 1 if the cron script is disabled in the config Exiting with 1 means it is an error, while it's really just a configuration option. --- contrib/cron/packagekit-background.cron | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/contrib/cron/packagekit-background.cron b/contrib/cron/packagekit-background.cron index e62d204..0a053b6 100755 --- a/contrib/cron/packagekit-background.cron +++ b/contrib/cron/packagekit-background.cron @@ -13,7 +13,7 @@ # are we disabled? if [ "$ENABLED" = "no" ]; then - exit 1 + exit 0 fi # set default for SYSTEM_NAME -- 1.7.1