|
@@ -114,7 +114,7 @@ retry:
|
|
/** wait for an exit status to be send by daemon_status_send().
|
|
/** wait for an exit status to be send by daemon_status_send().
|
|
* @param status - filled with the sent status (a char).
|
|
* @param status - filled with the sent status (a char).
|
|
* @return 0 on success, -1 on error (e.g. process died before sending
|
|
* @return 0 on success, -1 on error (e.g. process died before sending
|
|
- * status, not intialized a.s.o.).
|
|
|
|
|
|
+ * status, not initialized a.s.o.).
|
|
* Side-effects: it will close the write side of the pipe
|
|
* Side-effects: it will close the write side of the pipe
|
|
* (must not be used from the same process as the daemon_status_send()).
|
|
* (must not be used from the same process as the daemon_status_send()).
|
|
* Note: if init is not complete (only init, but no pre-daemonize)
|
|
* Note: if init is not complete (only init, but no pre-daemonize)
|