summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live2
-rw-r--r--scripts/live-helpers2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/live b/scripts/live
index 22d2210..2cfa5e1 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1016,7 +1016,7 @@ setup_unionfs ()
rofslist="${image} ${rofslist}"
elif [ -f "${image}" ]
then
- if /sbin/losetup --help 2>&1 | grep -q -- "-r\b"
+ if losetup --help 2>&1 | grep -q -- "-r\b"
then
backdev=$(get_backing_device "${image}" "-r")
else
diff --git a/scripts/live-helpers b/scripts/live-helpers
index b8b9cf1..f99fa56 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -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