diff --git a/defaults/linuxrc b/defaults/linuxrc index 8311669..2d9864f 100644 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -415,7 +415,7 @@ do if [ "${ROOTFSTYPE}" = 'zfs' ] then - if [ "zfs get -H -o value mountpoint ${REAL_ROOT}" = 'legacy' ] + if [ "$(zfs get -H -o value mountpoint ${REAL_ROOT})" = 'legacy' ] then MOUNT_STATE=rw else