(doexecute): Fix to set input_fd on failure, so that play() terminates
the execute correctly. Closes #723756.
This commit is contained in:
parent
94cf6d1ad8
commit
aef5b18c1e
1 changed files with 2 additions and 0 deletions
|
@ -225,6 +225,8 @@ dopipe(char *p)
|
|||
static void
|
||||
doexecute(char *p)
|
||||
{
|
||||
input_fd = -1; /* make sure play() terminates exec */
|
||||
|
||||
if (!seen_input(p)) {
|
||||
fprintf(stderr,
|
||||
"WARNING! Server attempted to read file %s",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue