author | Jordan Doyle <jordan@doyle.la> | 2023-06-25 13:01:32.0 +01:00:00 |
---|---|---|
committer | Jordan Doyle <jordan@doyle.la> | 2023-06-25 13:01:32.0 +01:00:00 |
commit | 22eea73619b5294afeedb440c5e0a559decec79e [patch] |
|
tree | 073ae3e3d33a8c1f00f35d413586fef21630085d |
|
parent | 0e6a677b05e875e89a0fbe11dc4ea55f5ef1370b |
|
download | 22eea73619b5294afeedb440c5e0a559decec79e.tar.gz |
Fix JSON blob concatenation in audit output
Diff
src/audit.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/audit.rs b/src/audit.rs index 4071cd7..a4ed10c 100644 --- a/src/audit.rs +++ a/src/audit.rs @@ -40,6 +40,7 @@ let log = serde_json::to_vec(&log) .map_err(|e| std::io::Error::new(ErrorKind::Other, e))?; writer.write_all(&log).await?; writer.write_all("\n".as_bytes()).await?; } None => { shutdown = true;