]> git.meshlink.io Git - catta/commitdiff
* change process title of chroot() helper process to "chroot helper" dropping
authorLennart Poettering <lennart@poettering.net>
Thu, 31 Aug 2006 19:52:01 +0000 (19:52 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 31 Aug 2006 19:52:01 +0000 (19:52 +0000)
  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

index 99f52faaeb7de46a640d18e3fe80d298d3f5b91c..20e2f03596eb35e6c5aedce0559d6db111fd695b 100644 (file)
@@ -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]);