diff options
| author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-07-31 22:34:55 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:00 +0100 |
| commit | eabd839b32b303c4176a891d2d42a1aeef8fc2da (patch) | |
| tree | 201dbaed08e98c8cdc60795a4da3c823290c4705 /scripts/live | |
| parent | 1b69d89f210c87efb582f51a4eec391515734e45 (diff) | |
| download | live-boot-eabd839b32b303c4176a891d2d42a1aeef8fc2da.tar.gz live-boot-eabd839b32b303c4176a891d2d42a1aeef8fc2da.zip | |
Don't use /sbin/losetup to test for '-r' option when the scripts just use "lostup"
Diffstat (limited to 'scripts/live')
| -rwxr-xr-x | scripts/live | 2 |
1 files changed, 1 insertions, 1 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 |
