diff options
author | Dirk von Suchodoletz | 2011-05-25 22:11:43 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2011-05-25 22:11:43 +0200 |
commit | 8256a7db28e6e5cea0083729132d8c2939b5d554 (patch) | |
tree | ec7084b9df27ee1a2f2d90484c0900cf0b62aab7 /src/initramfs/scripts | |
parent | SuSE 11.4 stuff ... (diff) | |
download | core-8256a7db28e6e5cea0083729132d8c2939b5d554.tar.gz core-8256a7db28e6e5cea0083729132d8c2939b5d554.tar.xz core-8256a7db28e6e5cea0083729132d8c2939b5d554.zip |
Shell does not accept "!" and "-a" in test ...
Diffstat (limited to 'src/initramfs/scripts')
-rwxr-xr-x | src/initramfs/scripts/init | 2 |
1 files changed, 1 insertions, 1 deletions
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 |