diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-02-09 03:18:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-02-09 03:18:04 +0100 |
commit | 353e12c2f4a9e96a47eb80b80d2ffb7bc1d44a1b (patch) | |
tree | 0bd79a2c40d8d60892666affbbb89690f29c672e /src/service.c | |
parent | 12ac304714996c3c3308d014b301d0d42d16c117 (diff) |
service: ignore SIGPIPE by defaultsystemd/v41
Diffstat (limited to 'src/service.c')
-rw-r--r-- | src/service.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c index a190a73b48..9ccb1b6bc1 100644 --- a/src/service.c +++ b/src/service.c @@ -894,6 +894,7 @@ static int service_load_sysv_path(Service *s, const char *path) { s->remain_after_exit = !s->pid_file; s->guess_main_pid = false; s->restart = SERVICE_RESTART_NO; + s->exec_context.ignore_sigpipe = false; if (UNIT(s)->manager->sysv_console) s->exec_context.std_output = EXEC_OUTPUT_JOURNAL_AND_CONSOLE; |