X-Git-Url: https://v.licheni.net/stack/code/debianlive.git/blobdiff_plain/0031cc895781a659dc649a2faa5c9ce429258485..fbda00119ca1e97701e9493127cae29c2d925982:/make-persistence.sh diff --git a/make-persistence.sh b/make-persistence.sh index 533b3e7..298eecc 100755 --- a/make-persistence.sh +++ b/make-persistence.sh @@ -13,11 +13,11 @@ if [ $(id -u) != 0 ];then echo "Must run as root" exit 1 fi -if [ ! -x $(which parted) ];then +if [ ! -x "$(which parted)" ];then echo "parted executable must be in search path and persmission garanted" exit 1 fi -if [ ! -x $(which cryptsetup) ];then +if [ ! -x "$(which cryptsetup)" ];then echo "cryptsetup executable must be in search path and persmission garanted" exit 1 fi