Force export if it failed the first time
Signed-off-by: Sören Tempel <soeren+git@soeren-tempel.net> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #3109
This commit is contained in:
parent
eda3d4e1de
commit
edbaf2455c
|
@ -21,7 +21,7 @@ if [ "${root}" = "zfs:AUTO" ] ; then
|
|||
ZFS_DATASET="$(find_bootfs)"
|
||||
if [ $? -ne 0 ] ; then
|
||||
warn "ZFS: No bootfs attribute found in importable pools."
|
||||
export_all
|
||||
export_all || export_all "-f"
|
||||
|
||||
rootok=0
|
||||
return 1
|
||||
|
|
Loading…
Reference in New Issue