From 8256a7db28e6e5cea0083729132d8c2939b5d554 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 25 May 2011 22:11:43 +0200 Subject: Shell does not accept "!" and "-a" in test ... --- src/initramfs/scripts/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/initramfs/scripts') diff --git a/src/initramfs/scripts/init b/src/initramfs/scripts/init index 3938c978..8a356a75 100755 --- a/src/initramfs/scripts/init +++ b/src/initramfs/scripts/init @@ -744,7 +744,7 @@ if [ -z ${union_type} -a ${unionfs} -eq 1 ]; then fi fi -if [ -z ${union_type} -a ! -z ${fuse} ]; then +if [ -z ${union_type} ] && [ ! -z ${fuse} ]; then fuse_in_kernel=$(grep -c fuse /proc/filesystems) if [ ${fuse_in_kernel} -eq 0 ]; then modprobe ${MODPRV} fuse 2>/dev/null -- cgit v1.2.3-55-g7522