]> arthur.barton.de Git - nagcollect.git/commitdiff
Uptime.tst: detect new uptime string "1 hr" ...
authorAlexander Barton <alex@barton.de>
Wed, 22 Sep 2010 13:53:57 +0000 (15:53 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 22 Sep 2010 13:53:57 +0000 (15:53 +0200)
client/lib/tests/Uptime.tst

index eb4b81e178627d192ced9ca4839c4017270647e5..58ed1464729becbb18eb89c0b0a4facd3432dc48 100644 (file)
@@ -28,7 +28,7 @@ if [ `uname` = "Darwin" ]; then
                                "1 day, "*)
                                        STATUS=1
                                        ;;
                                "1 day, "*)
                                        STATUS=1
                                        ;;
-                               *:*|*" hrs"|*" mins")
+                               *:*|"1 hr"|*" hrs"|*" mins")
                                        STATUS=2
                                        ;;
                                *)
                                        STATUS=2
                                        ;;
                                *)