(start_logout_process): call setproctitle
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6783 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -123,6 +123,9 @@ start_logout_process(void)
|
|||||||
if(pid == -1)
|
if(pid == -1)
|
||||||
err(1, "fork");
|
err(1, "fork");
|
||||||
/* wait for the real login process to exit */
|
/* wait for the real login process to exit */
|
||||||
|
#ifdef HAVE_SETPROCTITLE
|
||||||
|
setproctitle("waitpid %d", pid);
|
||||||
|
#endif
|
||||||
while(1) {
|
while(1) {
|
||||||
int status;
|
int status;
|
||||||
int ret;
|
int ret;
|
||||||
|
Reference in New Issue
Block a user