From 3ea1eb00314e9f405e570772e01139e707c100eb Mon Sep 17 00:00:00 2001 From: in2 Date: Wed, 10 Apr 2002 10:39:09 +0000 Subject: fix bug git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@96 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/shmctl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util/shmctl.c') 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{ -- cgit v1.2.3