From bc1639c6fbc9e696411ee698ff89188e1e7b9ca5 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Mon, 7 May 2007 17:50:39 +0000 Subject: Ugly little bug with succession of && and || (curly bracket solves this :-)) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1025 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/etc/functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'initramfs') diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions index 056e2499..0c4751c4 100644 --- a/initramfs/initrd-stuff/etc/functions +++ b/initramfs/initrd-stuff/etc/functions @@ -232,8 +232,8 @@ local dest=$2 local ret=0 [ -z "$dest" ] && dest="/mnt" # often nfs is just a module and not compiled directly into the kernel -[ -f /lib/modules/@@@KERNVER@@@/kernel/fs/nfs/nfs.ko ] && \ - modprobe ${MODPRV} nfs || error "$error_modnfs" +[ -f /lib/modules/@@@KERNVER@@@/kernel/fs/nfs/nfs.ko ] && \ + { modprobe ${MODPRV} nfs || error "$error_modnfs"; } # busybox mount has to be compiled with nfs mount support otherwise # --> error "$error_mntt" mount -n -t nfs -o ro,nolock,tcp $nfsroot $dest || \ -- cgit v1.2.3-55-g7522