X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b22a846ca4b5e21a3bc3b6d48cf3aa12f181ede0..ef1ba39e8dae81091b6c3e73e72825ef6edea3c6:/uip/slocal.c diff --git a/uip/slocal.c b/uip/slocal.c index 254744b2..772c4e2b 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -1125,16 +1125,15 @@ usr_pipe (int fd_arg, char *cmd, char *pgm, char **vec, int suppress) pidstatus (status, stdout, ", failed"); } return (status == 0 ? 0 : -1); - } else { - /* - * Ruthlessly kill the child and anything - * else in its process group. - */ - killpg(child_id, SIGKILL); - if (verbose) - verbose_printf (", timed-out; terminated\n"); - return -1; } + /* + * Ruthlessly kill the child and anything + * else in its process group. + */ + killpg(child_id, SIGKILL); + if (verbose) + verbose_printf (", timed-out; terminated\n"); + return -1; } }