Hi,

when testing the latest svn I saw some error messages on the installing
machine. Typically:

[: missing ]
grep: ]: No such file or directory

They originate from initrd_source/skel/etc/init.d/functions. The
patch is attached.

Regards,
Erich

--- initrd_source/skel/etc/init.d/functions.orig	2005-07-15 15:21:48.000000000 +0200
+++ initrd_source/skel/etc/init.d/functions	2005-07-15 15:23:52.000000000 +0200
@@ -77,7 +77,7 @@
     # log to temporary file (which will go away when we reboot)
     # this is good for envs that have bad consoles
     local FILE=/tmp/si.log
-    if [ mount | grep ' / ' | grep -q '(rw)' ]; then
+    if ((`mount | grep ' / ' | grep -q '(rw)'`)); then
         echo $@ >> $FILE || shellout
     fi
     

Reply via email to