From a2fd5b8ed02be912fcb71cdec1c9233692d6c615 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 31 Aug 2006 19:52:01 +0000 Subject: * change process title of chroot() helper process to "chroot helper" dropping the term "process" since everyone knows that this thing is a process anyway. * close the libdaemon retval pipes in the chroot helper process git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1302 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-daemon/chroot.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/avahi-daemon/chroot.c b/avahi-daemon/chroot.c index 99f52fa..20e2f03 100644 --- a/avahi-daemon/chroot.c +++ b/avahi-daemon/chroot.c @@ -314,7 +314,9 @@ int avahi_chroot_helper_start(const char *argv0) { /* Drop all remaining capabilities */ avahi_caps_drop_all(); - avahi_set_proc_title(argv0, "%s: chroot helper process", argv0); + avahi_set_proc_title(argv0, "%s: chroot helper", argv0); + + daemon_retval_done(); close(sock[0]); helper_main(sock[1]); -- cgit