commit e156e9683be215b146ad94d901d12a931e71b4ce Author: hiro hiro@torproject.org Date: Mon Sep 30 14:00:09 2019 +0200
Update check service script --- scripts/check_service | 1 + 1 file changed, 1 insertion(+)
diff --git a/scripts/check_service b/scripts/check_service index 8efc791..fcf464f 100644 --- a/scripts/check_service +++ b/scripts/check_service @@ -86,6 +86,7 @@ def send_email_from_gmail(password): mail.login(sent_from, password) mail.sendmail(sent_from, sent_to, email_text) mail.close() + return OK, "Test email sent" except Exception as e: return UNKNOWN, str(e)