fixed rootdelay empty error

This commit is contained in:
Tobias Powalowski 2009-09-30 17:58:03 +02:00
parent 08c4020403
commit 9cec91c2a5

View file

@ -66,7 +66,7 @@ for m in ${MODULES}; do
done
# If rootdelay is empty or not a non-negative integer, set it to 10
if [ -z "${rootdelay}" -o ! "${rootdelay}" -ge 0 ]; then
if [ -z "${rootdelay}" ] || ! [ ${rootdelay} -ge 0 ]; then
export rootdelay=10
fi
# We'll wait for the root device, so make sure klibc doesn't