mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 08:05:59 +01:00
Children should not fork
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
fec81cf40b
commit
564ae2bdd6
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ main(int argc, char* argv[])
|
|||
girara_error("Could not start new process group: %s", strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
break;
|
||||
} else if (pid < 0) { /* error */
|
||||
girara_error("Could not fork: %s", strerror(errno));
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue