diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-08-29 00:15:41 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-29 00:15:41 +0200 |
commit | d83f804b43241e261fe88564f238cd9d43b913df (patch) | |
tree | a87967231f54aeb15a2cdf56d9a3b6bf20acc59f /src/program.c | |
parent | c76c8696bc66437fdffb52f87a15b338df3b93cc (diff) |
Fix broken add rss by torrent name
Diffstat (limited to 'src/program.c')
-rw-r--r-- | src/program.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/program.c b/src/program.c index be4f8cc..00f242b 100644 --- a/src/program.c +++ b/src/program.c @@ -92,6 +92,7 @@ int program_exec(const char **args, ProgramOutputCallback output_callback, void close(fd[WRITE_END]); int result = program_read_output(pid, fd[READ_END], output_callback, userdata); + /* if(result != 0) { fprintf(stderr, "Failed to execute program ("); const char **arg = args; @@ -103,6 +104,7 @@ int program_exec(const char **args, ProgramOutputCallback output_callback, void } fprintf(stderr, ")\n"); } + */ close(fd[READ_END]); return result; |