Skip to content
Snippets Groups Projects
Commit 0563f2a0 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Do not truncate logfiles on start/reload.

fixes #1851
parent 586bd236
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ int log_open_file(const char* filename)
}
// Open file
LOG_FDS[LOG_FDS_OPEN] = fopen(filename, "w");
LOG_FDS[LOG_FDS_OPEN] = fopen(filename, "a");
if (!LOG_FDS[LOG_FDS_OPEN]) {
return KNOTD_EINVAL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment