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