diff --git a/salt/_modules/healthcheck.py b/salt/_modules/healthcheck.py index 9f38f8e32..c040dfbea 100644 --- a/salt/_modules/healthcheck.py +++ b/salt/_modules/healthcheck.py @@ -99,7 +99,7 @@ def zeek(): influxtime = int(time() * 1000000000) with open("/nsm/zeek/logs/zeek_restart.log", openmethod) as f: - f.write('healthcheck zeek_restart=%i %i' % (zeek_restart, influxtime)) + f.write('healthcheck zeek_restart=%i %i\n' % (zeek_restart, influxtime)) if calling_func == 'execute' and zeek_restart: