Changeset - 00c2ccd55748
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 17 years ago 2009-02-23 19:07:26
ohnobinki@ohnopublishing.net
fixed if statement
1 file changed with 7 insertions and 6 deletions:
0 comments (0 inline, 0 general)
src/common/execio.c
Show inline comments
 
@@ -44,12 +44,13 @@ int execio_open(struct execio **rem, con
 
  /* create two pipes to facilitate communication with child */
 
  if(pipe(pipe_write))
 
    return 1;
 
  if(pipe(pipe_read));
 
  {
 
    close(pipe_write[0]);
 
    close(pipe_write[1]);
 
    return 1;
 
  }
 
  if(pipe(pipe_read))
 
    {
 
      close(pipe_write[0]);
 
      close(pipe_write[1]);
 
      return 1;
 
    }
 
  
 
  
 
  /* parent */
 
  child = fork();
0 comments (0 inline, 0 general)