mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
* fish.c (pipeopen): Use _exit(), not vfs_die() to terminate the
child if execvp() fails.
This commit is contained in:
parent
2af1e85990
commit
9a36e62af2
@ -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.
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user