diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-12-29 18:01:37 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-01-04 13:27:27 +0100 |
commit | 1f5d1e02478fb550c926b23597895c7f1745dd9f (patch) | |
tree | db93092f43f5a5ce7356bc6d9ab8faf013080879 /src/fsck | |
parent | exec-util: drop redundant log message in do_spawn() (diff) | |
download | systemd-1f5d1e02478fb550c926b23597895c7f1745dd9f.tar.xz systemd-1f5d1e02478fb550c926b23597895c7f1745dd9f.zip |
process-spec: add another flag FORK_WAIT to safe_fork()
This new flag will cause safe_fork() to wait for the forked off child
before returning. This allows us to unify a number of cases where we
immediately wait on the forked off child, witout running any code in the
parent after the fork, and without direct interest in the precise exit
status of the process, except recgonizing EXIT_SUCCESS vs everything
else.
Diffstat (limited to 'src/fsck')
0 files changed, 0 insertions, 0 deletions