From 998ab5a004be0e55ad424344fcc4c9f377d7ded7 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Thu, 26 May 2011 12:32:38 +0200 Subject: fix #817 --- src/initramfs/scripts/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/initramfs/scripts/init b/src/initramfs/scripts/init index 80732f1a..d1bdebbc 100755 --- a/src/initramfs/scripts/init +++ b/src/initramfs/scripts/init @@ -733,7 +733,7 @@ if [ ${aufs} -eq 1 ]; then fi fi -if [ -z ${union_type} -a ${unionfs} -eq 1 ]; then +if [ -z ${union_type} ] && [ ${unionfs} -eq 1 ]; then unionfs_in_kernel=$(grep -c unionfs /proc/filesystems) if [ ${unionfs_in_kernel} -eq 0 ]; then modprobe ${MODPRV} unionfs 2>/dev/null -- cgit v1.2.3-55-g7522