From edbaf2455cd63a2724558a8d8ff824a2f47fcdf9 Mon Sep 17 00:00:00 2001 From: Sören Tempel Date: Mon, 16 Feb 2015 09:56:04 +0100 Subject: Force export if it failed the first time MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sören Tempel Signed-off-by: Brian Behlendorf Issue #3109 --- dracut/90zfs/mount-zfs.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dracut') 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 -- cgit v1.2.3