add missing newline to stats dumping

This commit is contained in:
Nils Andreas Svee committed 2022-11-21 18:15:25 +01:00
1 parent 5c0a6c304f
commit 6659e72ab4
1 file changed
+1 -1
+1 -1
View File
@@ -400,7 +400,7 @@ impl Ratecontroller {
if let Some(ref mut fd) = stats_fd {
if let Err(e) = fd.write(
format!(
"{},{},{},{},{},{},{}",
"{},{},{},{},{},{},{}\n",
time_format(SystemTime::now(), DUMP_DATETIME_FORMAT),
self.state_dl.load,
self.state_ul.load,