diff options
Diffstat (limited to 'nitro.c')
-rw-r--r-- | nitro.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nitro.c b/nitro.c index 6e47e53..7a9abb4 100644 --- a/nitro.c +++ b/nitro.c @@ -1373,7 +1373,8 @@ main(int argc, char *argv[]) if (nullfd < 0) { // use a closed pipe instead int fd[2]; - pipe(fd); + if (pipe(fd) < 0) + abort(); nullfd = fd[0]; close(fd[1]); } |