From 4718372f13b011b51514e8a4c6fbf92460572a3f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Sep 2008 20:11:09 +0200 Subject: Automatically correct LH_SETUP value if the configured losetup cannot be found. --- functions/defaults.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/defaults.sh b/functions/defaults.sh index b36f1d0..0c3989f 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -164,7 +164,7 @@ Set_defaults () fi # Setting losetup - if [ -z "${LH_LOSETUP}" ] + if [ -z "${LH_LOSETUP}" ] || [ ! -x /sbin/${LH_LOSETUP} ] then # Workaround for loop-aes-utils divertion # (loop-aes-utils' losetup lacks features). -- cgit v1.0