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

phw at torproject.org phw at torproject.org
Mon May 11 19:34:46 UTC 2020


commit 9f8e95de1bc7945869eda4bdde3755eafcdad6bd
Author: Philipp Winter <phw at nymity.ch>
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))
 
 





More information about the tor-commits mailing list