linuxrc: fix zfs call, subshell call was missing

master
Fabio Erculiani 12 years ago
parent c0bfc7b123
commit 7f41ae2800

@ -415,7 +415,7 @@ do
if [ "${ROOTFSTYPE}" = 'zfs' ] if [ "${ROOTFSTYPE}" = 'zfs' ]
then then
if [ "zfs get -H -o value mountpoint ${REAL_ROOT}" = 'legacy' ] if [ "$(zfs get -H -o value mountpoint ${REAL_ROOT})" = 'legacy' ]
then then
MOUNT_STATE=rw MOUNT_STATE=rw
else else

Loading…
Cancel
Save