Don't close audio[0] if you're not careful
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
9be31cd944
commit
152eeec7a7
|
@ -168,8 +168,10 @@ static int launch_script(char *script, char *args, int *fds, int *efd, int *opid
|
|||
close(toast[1]);
|
||||
close(fromast[0]);
|
||||
|
||||
// [PHM 12/18/03]
|
||||
close(audio[0]);
|
||||
if (efd) {
|
||||
// [PHM 12/18/03]
|
||||
close(audio[0]);
|
||||
}
|
||||
|
||||
*opid = pid;
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue