summaryrefslogtreecommitdiffstats
path: root/init_functions
diff options
context:
space:
mode:
Diffstat (limited to 'init_functions')
-rw-r--r--init_functions2
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