From eabd839b32b303c4176a891d2d42a1aeef8fc2da Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Thu, 31 Jul 2008 22:34:55 +0100 Subject: Don't use /sbin/losetup to test for '-r' option when the scripts just use "lostup" --- scripts/live | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/live') 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 -- cgit v1.2.3