diff options
Diffstat (limited to 'listamsb.c')
-rw-r--r-- | listamsb.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -590,7 +590,8 @@ void open_output() { verbose(1, "using pipe for output: %s", pipe_command); outfile = popen(pipe_command, "w"); /* "wb" not allowed! */ /* we probably never see this error. popen() fails only is - we feed it an invalid mode, or if fork() or pipe() fails. + we feed it an invalid mode, or if fork() or pipe() fails, + or I suppose if some idjit has done a "rm -f /bin/sh"... all other errors are caught at pclose(). */ if(!outfile) os_err("|%s: %s", pipe_command, strerror(errno)); need_pclose = 1; |