[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [gettor/master] Update check service script



commit 3e7378bb2751c54ac040a95554ad5fe43bf988c2
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Mon Sep 30 14:02:07 2019 +0200

    Update check service script
---
 scripts/check_service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/check_service b/scripts/check_service
index fcf464f..634c656 100644
--- a/scripts/check_service
+++ b/scripts/check_service
@@ -103,9 +103,9 @@ if __name__ == "__main__":
     try:
         status, message = send_email_from_gmail(password)
     except Exception as e:
-        status = CRITICAL
+        status = UNKNOWN
         message = repr(e)
-        status_file.write("CRITICAL: %s" % message)
+        status_file.write("UNKNOWN: %s" % message)
         sys.exit(status)
 
     time.sleep(600)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits