diff options
Diffstat (limited to 'util/shmctl.c')
-rw-r--r-- | util/shmctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/shmctl.c b/util/shmctl.c index 0205681f..1453126a 100644 --- a/util/shmctl.c +++ b/util/shmctl.c @@ -67,6 +67,7 @@ int utmpfix(int argc, char **argv) clean = "userid error"; else if( now - utmpshm->uinfo[i].lastact > 1800 ){ clean = "timeout"; + kill(utmpshm->uinfo[i].pid, SIGHUP); purge_utmp(&utmpshm->uinfo[i]); } else{ |