summaryrefslogtreecommitdiffstats
path: root/dracut
diff options
context:
space:
mode:
authorSören Tempel <[email protected]>2015-02-16 09:56:04 +0100
committerBrian Behlendorf <[email protected]>2015-06-17 16:46:04 -0700
commitedbaf2455cd63a2724558a8d8ff824a2f47fcdf9 (patch)
treed16d6351dbce621c6d83cd0b639a1780ce5425d4 /dracut
parenteda3d4e1de94cd3a9247bb90a64413a89e736847 (diff)
Force export if it failed the first time
Signed-off-by: Sören Tempel <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #3109
Diffstat (limited to 'dracut')
-rwxr-xr-xdracut/90zfs/mount-zfs.sh.in2
1 files changed, 1 insertions, 1 deletions
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