diff --git a/handlers/sys.in b/handlers/sys.in index 1afe7f611a8ec30697447092156ec564d72fa339..d8fe21a669c6cffdc40c0d1f00e037008b07ca13 100644 --- a/handlers/sys.in +++ b/handlers/sys.in @@ -633,7 +633,7 @@ if [ "$partitions" == "yes" ]; then fi if [ "$luksheaders" == "yes" ]; then - devices=`LC_ALL=C $SFDISK -l 2>/dev/null | grep '/dev/' | sed -e 's/Disk //' -re 's/:? +.*//g'` + devices=`LC_ALL=C $SFDISK -l 2>/dev/null | grep '/dev/' | @SED@ -e 's/Disk //' -re 's/:? +.*//g'` [ -n "$devices" ] || warning "No block device found" partitions=`LC_ALL=C $SFDISK -l 2>/dev/null |grep "^/dev" | @AWK@ '{print $1}'` [ -n "$partitions" ] || warning "No partitions found"