core-util: introduce pa_disable_sigpipe()

This commit is contained in:
Lennart Poettering 2009-05-25 23:56:38 +02:00
parent ebce3185ef
commit 759a9d0cc5
4 changed files with 27 additions and 4 deletions

View file

@ -946,9 +946,7 @@ int main(int argc, char *argv[]) {
valid_pid_file = TRUE;
}
#ifdef SIGPIPE
signal(SIGPIPE, SIG_IGN);
#endif
pa_disable_sigpipe();
if (pa_rtclock_hrtimer())
pa_log_info(_("Fresh high-resolution timers available! Bon appetit!"));