diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-02-21 01:58:11 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-02-21 01:58:11 +0100 |
commit | c73baee87913e6e92f0cb82d1f999528b51c7bb7 (patch) | |
tree | 72e4625916477e9ebf3b65eb05bcaded2920ad49 /init_functions | |
parent | 568e4aa7b19c388de3ebc9c651996d1b577c3f09 (diff) | |
download | mkinitcpio-c73baee87913e6e92f0cb82d1f999528b51c7bb7.tar.gz mkinitcpio-c73baee87913e6e92f0cb82d1f999528b51c7bb7.tar.xz |
Allow the second parameter of poll_device to be 0 - this fixes rootdelay=0
Diffstat (limited to 'init_functions')
-rw-r--r-- | init_functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init_functions b/init_functions index 45ca896..aad406d 100644 --- a/init_functions +++ b/init_functions @@ -9,7 +9,7 @@ err () { poll_device() { device="$1" - if [ "$2" -gt 0 ]; then + if [ "$2" -ge 0 ]; then seconds="$2" else seconds=5 |