From: Sören Tempel Date: Mon, 16 Feb 2015 08:56:04 +0000 (+0100) Subject: Force export if it failed the first time X-Git-Tag: zfs-0.6.5~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=edbaf2455cd63a2724558a8d8ff824a2f47fcdf9;p=zfs Force export if it failed the first time Signed-off-by: Sören Tempel Signed-off-by: Brian Behlendorf Issue #3109 --- diff --git a/dracut/90zfs/mount-zfs.sh.in b/dracut/90zfs/mount-zfs.sh.in index 47c01d14c..39beb9f70 100755 --- a/dracut/90zfs/mount-zfs.sh.in +++ b/dracut/90zfs/mount-zfs.sh.in @@ -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