mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
spawn.c: s/exit()/_exit()/
This commit is contained in:
parent
2a7086d9f7
commit
d5108e291f
1 changed files with 2 additions and 2 deletions
|
|
@ -45,11 +45,11 @@ spawn_async_no_shell(char const *command)
|
|||
grandchild = fork();
|
||||
if (grandchild == 0) {
|
||||
execvp(argv[0], argv);
|
||||
exit(0);
|
||||
_exit(0);
|
||||
} else if (grandchild < 0) {
|
||||
warn("unable to fork()");
|
||||
}
|
||||
exit(0);
|
||||
_exit(0);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue