mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-09-19 23:21:40 +02:00
Changed /sed/@SED@/
This commit is contained in:
parent
469a3fd5ab
commit
417394cf74
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user