/etc/cron.daily/amavisd-new warns when removed
- From: Justin T Pryzby <justinp@xxxxxxxxxxxxxx>
- Date: Fri, 31 Oct 2008 08:36:41 -0700
Removing (but not purging) amavisd-new causes the cronjob to exit 1,
causing run-parts to warn.
--- /etc/cron.daily/amavisd-new~ 2008-10-31 08:35:22.000000000 -0700
+++ /etc/cron.daily/amavisd-new 2008-10-31 08:35:50.000000000 -0700
@@ -3,4 +3,5 @@
# Daily maintenance for amavisd-new
# $Id: amavisd-new.cron.daily 930 2006-08-10 13:38:45Z hmh $
#
-test -e /usr/sbin/amavisd-new-cronjob && exec /usr/sbin/amavisd-new-cronjob sa-clean
+[ ! -e /usr/sbin/amavisd-new-cronjob ] && exit
+exec /usr/sbin/amavisd-new-cronjob sa-clean
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Prev by Date: Re: Nvidia, Ubuntu and Old CRT Monitor
- Next by Date: Booting Ubuntu 6.06 CD on Dell T5400
- Previous by thread: Ubuntu 8.10 error XCBUnlockDisplay: Assertion `xcb_get_request_sent
- Next by thread: Booting Ubuntu 6.06 CD on Dell T5400
- Index(es):