mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fixed rootdelay empty error
This commit is contained in:
parent
08c4020403
commit
9cec91c2a5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue