diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-11-30 15:07:43 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-12-01 12:41:17 +0100 |
commit | e28c7cd0665364bb910fe2cead882623c23c28ac (patch) | |
tree | 7ec5121edaf9a14ddca59385bb7e3e817f7092be /src/nspawn | |
parent | 7b4318b6a51e996fcd17855bbef21f8ad3c08da9 (diff) |
tree-wide: set SA_RESTART for signal handlers we install
We already set it in most cases, but make sure to set it in all others too, and
document that that's a good idea.
Diffstat (limited to 'src/nspawn')
-rw-r--r-- | src/nspawn/nspawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index e739df7f72..ea50be25ea 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -3632,7 +3632,7 @@ static int run(int master, static const struct sigaction sa = { .sa_handler = nop_signal_handler, - .sa_flags = SA_NOCLDSTOP, + .sa_flags = SA_NOCLDSTOP|SA_RESTART, }; _cleanup_release_lock_file_ LockFile uid_shift_lock = LOCK_FILE_INIT; |