]> arthur.barton.de Git - nagcollect.git/commitdiff
Uptime.tst: detect new uptime string "<n> hrs"
authorAlexander Barton <alex@barton.de>
Wed, 1 Sep 2010 16:08:14 +0000 (18:08 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 1 Sep 2010 16:08:14 +0000 (18:08 +0200)
client/lib/tests/Uptime.tst

index 9b05861722260d7d9b6de50d73bca5358ab3e232..d57fe398ef6c771c9b125455c8bdd0686025c5a5 100644 (file)
@@ -25,7 +25,7 @@ if [ `uname` = "Darwin" ]; then
                                *" days, "*)
                                        STATUS=0
                                        ;;
                                *" days, "*)
                                        STATUS=0
                                        ;;
-                               "1 day, "*)
+                               "1 day, "*|*" hrs")
                                        STATUS=1
                                        ;;
                                *:*)
                                        STATUS=1
                                        ;;
                                *:*)