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

[tor-commits] [bridgedb/master] Add missing newline at the end of the file.



commit 9f8e95de1bc7945869eda4bdde3755eafcdad6bd
Author: Philipp Winter <phw@xxxxxxxxx>
Date:   Thu May 7 08:25:22 2020 -0700

    Add missing newline at the end of the file.
---
 scripts/nagios-email-check | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/nagios-email-check b/scripts/nagios-email-check
index 7287646..b9fc831 100755
--- a/scripts/nagios-email-check
+++ b/scripts/nagios-email-check
@@ -149,7 +149,7 @@ def write_status_file(status, message):
     code = codes.get(status, UNKNOWN)
 
     with open(STATUS_FILE, "w") as fd:
-        fd.write("{}\n{}: {}".format(code, status, message))
+        fd.write("{}\n{}: {}\n".format(code, status, message))
     log("Wrote status='%s', message='%s' to status file." % (status, message))
 
 



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