Automatically correct LH_SETUP value if the configured losetup cannot be found.
This commit is contained in:
parent
15a8c9ab3d
commit
4718372f13
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue