diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-07-25 14:34:03 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-07-25 14:34:03 +0000 |
commit | e92fafb79b737eb3e5d69769e90a273e56c5d3ea (patch) | |
tree | 7f7372ca5a356003c6d41c2b358758d318aee539 /debian/bcfg2.cron.daily | |
parent | d99a102b867a40a8da7869ca07490ece3cbf3316 (diff) | |
download | bcfg2-e92fafb79b737eb3e5d69769e90a273e56c5d3ea.tar.gz bcfg2-e92fafb79b737eb3e5d69769e90a273e56c5d3ea.tar.bz2 bcfg2-e92fafb79b737eb3e5d69769e90a273e56c5d3ea.zip |
Fix non-zero status cron exits
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2001 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'debian/bcfg2.cron.daily')
-rw-r--r-- | debian/bcfg2.cron.daily | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/bcfg2.cron.daily b/debian/bcfg2.cron.daily index eb0f41e9a..02d0556f3 100644 --- a/debian/bcfg2.cron.daily +++ b/debian/bcfg2.cron.daily @@ -1,2 +1,3 @@ #!/bin/sh -[ -x /usr/lib/bcfg2/bcfg2-cron ] && /usr/lib/bcfg2/bcfg2-cron --daily 2>&1 > /dev/null +[ -x /usr/lib/bcfg2/bcfg2-cron ] || exit 0 +/usr/lib/bcfg2/bcfg2-cron --daily 2>&1 > /dev/null || true |