diff options
-rw-r--r-- | listamsb.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -281,7 +281,11 @@ int main(int argc, char **argv) { rv = 2; } - if(need_pclose) pclose(outfile); + if(need_pclose) { + if(pclose(outfile) != 0) { + die("a8cat child process failed, do you have a8cat on your PATH?"); + } + } exit(rv); } |