diff --git a/handlers/sys.in b/handlers/sys.in index 35b9b6c1bc08427b6ae5aa6987ffce4249bd1731..671c972bca9e7dcb9deaa822aeb665d8f827f533 100644 --- a/handlers/sys.in +++ b/handlers/sys.in @@ -608,7 +608,7 @@ fi if [ "$partitions" == "yes" ]; then if [ "$dosfdisk" == "yes" ]; then - devices=`LC_ALL=C $LSBLK --output NAME,TYPE --list --paths 2>/dev/null | grep "disk$" | @AWK@ '{print $1}'` + devices=`LC_ALL=C $LSBLK --output NAME,TYPE --list --paths 2>/dev/null | grep "disk$" | @AWK@ '{print $1}' | grep -v '/dev/mapper/'` if [ "$devices" == "" ]; then warning "No harddisks found" fi