Automatically correct LH_SETUP value if the configured losetup cannot be found.

This commit is contained in:
Daniel Baumann 2008-09-29 20:11:09 +02:00
parent 15a8c9ab3d
commit 4718372f13
1 changed files with 1 additions and 1 deletions

View File

@ -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).