summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-31 19:52:01 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-31 19:52:01 +0000
commita2fd5b8ed02be912fcb71cdec1c9233692d6c615 (patch)
tree122ffe232a7c456e7ba3298686df400f143ece7c
parent7bf6b7b95b7c3327000794a24e104242598a9f3f (diff)
* 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
-rw-r--r--avahi-daemon/chroot.c4
1 files changed, 3 insertions, 1 deletions
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]);