Author: baggins
Date: Mon Mar  9 22:21:26 2009
New Revision: 10186

Modified:
   rc-scripts/trunk/rc.d/init.d/functions
Log:
- use exntended regexp functionality


Modified: rc-scripts/trunk/rc.d/init.d/functions
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/functions      (original)
+++ rc-scripts/trunk/rc.d/init.d/functions      Mon Mar  9 22:21:26 2009
@@ -999,7 +999,7 @@
        [ -n "$fstype" -a -n "$mntpoint" ] || return 1
 
        if [ -r /proc/mounts ]; then
-               grep -qE "[ \t]$mntpoint[ \t]+$fstype[ \t]" /proc/mounts
+               grep -qE "[[:blank:]]$mntpoint[[:blank:]]+$fstype[[:blank:]]" 
/proc/mounts
                return $?
        else
                if [ "$(/bin/stat -L -f -c %T $mntpoint 2>/dev/null)" = 
"$fstype" ]; then
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to