diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 9741a51ef..7ad926fce 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,5 +1,8 @@ 2002-08-19 Pavel Roskin + * 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. diff --git a/vfs/fish.c b/vfs/fish.c index 5a30a2e26..77543f4da 100644 --- a/vfs/fish.c +++ b/vfs/fish.c @@ -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); } }