zfs_ensure_mounted: cleanup echo grep pattern
This commit is contained in:
parent
852ec18c7b
commit
9e35448f04
@ -19,7 +19,7 @@ final: prev: {
|
||||
|
||||
MISSING=""
|
||||
for target in "$@"; do
|
||||
if ! echo "$MOUNTED" | grep -Fxq "$target"; then
|
||||
if ! grep -Fxq "$target" <<< "$MOUNTED"; then
|
||||
MISSING="$MISSING $target"
|
||||
fi
|
||||
done
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user