* fish.c (pipeopen): Use _exit(), not vfs_die() to terminate the

child if execvp() fails.
This commit is contained in:
Pavel Roskin 2002-08-20 00:14:33 +00:00
parent 2af1e85990
commit 9a36e62af2
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2002-08-19 Pavel Roskin <proski@gnu.org>
* fish.c (pipeopen): Use _exit(), not vfs_die() to terminate the
child if execvp() fails.
* sfs.c: Don't use flag EXECUTE_SETUID because it's being
removed as insecure and EXECUTE_WAIT because it has no effect.
* extfs.c: Likewise.

View File

@ -182,7 +182,7 @@ pipeopen(vfs_s_super *super, char *path, char *argv[])
open ("/dev/null", O_WRONLY);
close(fileset2[0]); close(fileset2[1]);
execvp(path, argv);
vfs_die("Exec failed.");
_exit(3);
}
}