]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/util/server_child.c
Merge remote branch 'netafp/master' into branch-allea
[netatalk.git] / libatalk / util / server_child.c
index 34cec28d17d5b0d601a5fef0daacf0c8b3bbbe90..8b27f6f3ef13626f70dfdb8669d4f0363eb01d42 100644 (file)
@@ -129,8 +129,10 @@ afp_child_t *server_child_add(server_child *children, int forkid, pid_t pid, uin
 
     /* it's possible that the child could have already died before the
      * pthread_sigmask. we need to check for this. */
-    if (kill(pid, 0) < 0)
+    if (kill(pid, 0) < 0) {
+        LOG(log_error, logtype_default, "server_child_add: no such process pid [%d]", pid);
         goto exit;
+    }
 
     fork = (server_child_fork *) children->fork + forkid;