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

hiro at torproject.org hiro at torproject.org
Mon Sep 30 16:13:10 UTC 2019


commit 64bee8dc0db5648c339a9bc0da8edc326f4f4b6a
Author: hiro <hiro at torproject.org>
Date:   Mon Sep 30 18:13:05 2019 +0200

    Update check script
---
 scripts/check_service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/check_service b/scripts/check_service
index b829c8e..9c2375d 100644
--- a/scripts/check_service
+++ b/scripts/check_service
@@ -61,6 +61,7 @@ def test_email_from_gmail(password):
 
                     if (MESSAGE_FROM == email_from) and (MESSAGE_SUBJECT == email_subject) and (MESSAGE_BODY in email_body):
                         mail.store(str(i), '+FLAGS', '\\Deleted')
+                        return OK, "GetTor is good and sending emails with working links"
                     else:
                         mail.store(str(i), '+FLAGS', '\\Deleted')
 



More information about the tor-commits mailing list