summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh2
1 files changed, 1 insertions, 1 deletions
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).