I get the same bug, since 'dash' is my default scriping shell.  Attached
is a patch for '/etc/cron.daily/standard'.

Hope this helps...


--- /etc/cron.daily/standard	2005-08-11 03:06:18.000000000 -0400
+++ /tmp/standard	2005-08-20 16:52:03.000000000 -0400
@@ -62,7 +62,7 @@
 df -P --type=ext2 --type=ext3 --type=xfs |
 awk '/\/dev\// { print }' | sed -e 's/ [[:space:]]*/ /g'  |
 while read mount block used avail perc mp; do
-	[ "$mp" == "/" ] && mp=""
+	[ "$mp" = "/" ] && mp=""
 	echo "$mp/lost+found"
 done |
 while read lfdir; do

Reply via email to