From 9b880e960c086c13bb90abd44675c27f5a9b8b77 Mon Sep 17 00:00:00 2001 From: in2 Date: Mon, 4 Apr 2005 06:15:58 +0000 Subject: use BBSUID instead 9999 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2686 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/bbsctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/bbsctl.c b/util/bbsctl.c index d967a071..848fc999 100644 --- a/util/bbsctl.c +++ b/util/bbsctl.c @@ -166,8 +166,8 @@ int bbstest(int argc, char **argv) perror("setuid(0)"); return 1; } - if( setuid(9999) < 0 ){ - perror("setuid(9999)"); + if( setuid(BBSUID) < 0 ){ + perror("setuid(BBSUID)"); return 1; } system(KILLALL " testmbbsd"); -- cgit v1.2.3