Don't use /sbin/losetup to test for '-r' option when the scripts just use "lostup"
[live-boot-grml.git] / scripts / live-helpers
index b8b9cf1..f99fa56 100644 (file)
@@ -178,7 +178,7 @@ setup_loop ()
 
                        if [ -n ${readonly} ]
                        then
-                               if /sbin/losetup --help 2>&1 | grep -q -- "-r\b"
+                               if losetup --help 2>&1 | grep -q -- "-r\b"
                                then
                                        options="${options} -r"
                                fi