On Sat, Aug 02, 2008 at 10:28:03AM +0200, Filippo Giunchedi wrote:
> Package: ifmail
> Followup-For: Bug #493337
> 
> indeed my previous fix was wrong, given the sh -e the correct one is:
> 
> [ -d $IFLOGDIR ] || exit 0
> 
> cd $IFLOGDIR
> 
> I'm going to prepare a NMU in a few days if that is okay.

uploaded to delayed-4, debdiff follows:

diff -u ifmail-2.14tx8.10/debian/changelog ifmail-2.14tx8.10/debian/changelog
--- ifmail-2.14tx8.10/debian/changelog
+++ ifmail-2.14tx8.10/debian/changelog
@@ -1,3 +1,11 @@
+ifmail (2.14tx8.10-19.4) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix the previous fix (435994), i.e. really exit 0 if LOGDIR doesn't exists
+    in /etc/cron.weekly/ifmail (Closes: #493337)
+
+ -- Filippo Giunchedi <[EMAIL PROTECTED]>  Tue, 12 Aug 2008 16:52:04 +0200
+
 ifmail (2.14tx8.10-19.3) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u ifmail-2.14tx8.10/debian/cron.weekly 
ifmail-2.14tx8.10/debian/cron.weekly
--- ifmail-2.14tx8.10/debian/cron.weekly
+++ ifmail-2.14tx8.10/debian/cron.weekly
@@ -2,7 +2,9 @@
 
 . /etc/ifmail/ifshellvars
 
-cd $IFLOGDIR || exit 0
+[ -d $IFLOGDIR ] || exit 0 
+
+cd $IFLOGDIR 
 
 # Rotate the logfiles.
 for LOG in ifdebug iflog; do


filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

All language designers are arrogant. Goes with the territory...
-- Larry Wall



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to