From c73baee87913e6e92f0cb82d1f999528b51c7bb7 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sun, 21 Feb 2010 01:58:11 +0100 Subject: Allow the second parameter of poll_device to be 0 - this fixes rootdelay=0 --- init_functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init_functions') 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 -- cgit v1.2.3-24-g4f1b