mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
node-file: Don't truncate files
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
This commit is contained in:
parent
65cb2d612b
commit
ad6bd0ecf7
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ int villas::node::file_start(NodeCompat *n)
|
|||
f->formatter->start(n->getInputSignals(false));
|
||||
|
||||
/* Open file */
|
||||
f->stream_out = fopen(f->uri, "w+");
|
||||
f->stream_out = fopen(f->uri, "a+");
|
||||
if (!f->stream_out)
|
||||
return -1;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue