when taking the state of a proc_st set its status to zombie.

This commit is contained in:
Nikos Mavrogiannopoulos
2014-01-19 03:43:03 +01:00
parent 3105398cc0
commit 79b6f226af
+1
View File
@@ -343,6 +343,7 @@ unsigned found = 0;
proc->pid = -1; proc->pid = -1;
proc->fd = -1; proc->fd = -1;
proc->sid_size = 0; proc->sid_size = 0;
proc->status = PS_AUTH_ZOMBIE;
*_proc = proc = ctmp; *_proc = proc = ctmp;
found = 1; found = 1;
break; break;