zfs_ensure_mounted: cleanup sed awk call
This commit is contained in:
parent
d7d84848bb
commit
3811193739
@ -15,7 +15,7 @@ final: prev: {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
MOUNTED=$(zfs list -o mountpoint,mounted -H | awk '$NF == "yes" {$NF=""; print $0}' | sed 's/[[:space:]]*$//')
|
||||
MOUNTED=$(zfs list -o mountpoint,mounted -H | awk '$NF == "yes" {NF--; print}')
|
||||
|
||||
MISSING=""
|
||||
for target in "$@"; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user