zfs_ensure_mounted: cleanup echo grep pattern

This commit is contained in:
Simon Gardling 2025-10-17 17:25:30 -04:00
parent 852ec18c7b
commit 9e35448f04
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -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