summaryrefslogtreecommitdiff
path: root/src/nspawn
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-26 21:11:35 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-26 21:12:54 +0200
commit1b6d7fa742e303611dff8d7ebfa86ee5fb8b7dc7 (patch)
tree78fac28279b79bbf5465ce1b26b4200f55373e7e /src/nspawn
parent1dedb74a2e1d840b531b76b01a76979f3b57456b (diff)
util: make use of newly added reset_signal_mask() call wherever appropriate
Diffstat (limited to 'src/nspawn')
-rw-r--r--src/nspawn/nspawn.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 2c718557ee..56d9cc68c6 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -3156,9 +3156,7 @@ int main(int argc, char *argv[]) {
kmsg_socket_pair[0] = safe_close(kmsg_socket_pair[0]);
reset_all_signal_handlers();
-
- assert_se(sigemptyset(&mask) == 0);
- assert_se(sigprocmask(SIG_SETMASK, &mask, NULL) == 0);
+ reset_signal_mask();
k = open_terminal(console, O_RDWR);
if (k != STDIN_FILENO) {