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