aboutsummaryrefslogtreecommitdiffstats
path: root/tools/serdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/serdi.c')
-rw-r--r--tools/serdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/serdi.c b/tools/serdi.c
index db1cfde0..db4a016f 100644
--- a/tools/serdi.c
+++ b/tools/serdi.c
@@ -527,7 +527,7 @@ main(int argc, char** argv)
serd_node_free(base);
serd_world_free(world);
- if (serd_byte_sink_close(byte_sink) || (!out_filename && fclose(stdout))) {
+ if (serd_byte_sink_close(byte_sink)) {
perror("serdi: write error");
st = SERD_ERR_UNKNOWN;
}