diff --git a/scripts/lvresize_fs_helper.sh b/scripts/lvresize_fs_helper.sh index 031b8453b..f531dd447 100755 --- a/scripts/lvresize_fs_helper.sh +++ b/scripts/lvresize_fs_helper.sh @@ -224,7 +224,7 @@ fsreduce() { cryptresize() { NEWSIZESECTORS=$(($NEWSIZEBYTES/512)) logmsg "cryptsetup resize ${NEWSIZESECTORS} sectors ${DEVPATH}" - cryptresize resize --size "$NEWSIZESECTORS" "$DEVPATH" + cryptsetup resize --size "$NEWSIZESECTORS" "$DEVPATH" if [ $? -eq 0 ]; then logmsg "cryptsetup done" else