udev-151: mount.sh: Small bugfix (SD Labels with spaces in their names
[openembedded.git] / recipes / udev / udev-151 / omap3-pandora / mount.sh
index 3a37da2..0819def 100755 (executable)
@@ -23,7 +23,7 @@ do
 done
 
 automount() {  
-       if [ ! $name2 = "" ] 
+       if [ -n "$name2" ] 
        then
                c=1
                while ( cat /proc/mounts | grep "/media/$name2" ); do