summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/initramfs/scripts/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/initramfs/scripts/init b/src/initramfs/scripts/init
index f778125d..e6c63a9b 100755
--- a/src/initramfs/scripts/init
+++ b/src/initramfs/scripts/init
@@ -728,12 +728,12 @@ if [ ${aufs} -eq 1 ] && grep -q aufs /proc/filesystems || \
elif [ ${unionfs} -eq 1 ] && grep -q unionfs /proc/filesystems || \
{ modprobe ${MODPRV} unionfs 2>/dev/null && \
lsmod | grep -qe "^unionfs" ; } ; then union_type="UnionFS"
-elif [ "x${fuse}" != "x" ] && grep -q fuse /proc/filesystems || \
+elif [ "x${fuse}" != "x" ] && grep -q fuse /proc/filesystems || \
{ modprobe ${MODPRV} fuse 2>/dev/null && \
lsmod | grep -qe "^fuse" ; } ; then union_type="Fuse"
elif [ ${aufs} -eq 0 -a ${unionfs} -eq 0 -a -z "${cowloop}" ] ; then
error "$init_deselau" nonfatal
- unset aufs unionfs
+ unset fuse aufs unionfs
else
error "$init_loadaufs" nonfatal
unset aufs unionfs