diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-04-04 14:15:58 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-04-04 14:15:58 +0800 |
commit | 9b880e960c086c13bb90abd44675c27f5a9b8b77 (patch) | |
tree | d56aaf97d59db6b1be5530271e341d2b1c43b577 | |
parent | fc3ee28632a4a06933b4375537fbb0dec9041f37 (diff) | |
download | pttbbs-9b880e960c086c13bb90abd44675c27f5a9b8b77.tar pttbbs-9b880e960c086c13bb90abd44675c27f5a9b8b77.tar.gz pttbbs-9b880e960c086c13bb90abd44675c27f5a9b8b77.tar.bz2 pttbbs-9b880e960c086c13bb90abd44675c27f5a9b8b77.tar.lz pttbbs-9b880e960c086c13bb90abd44675c27f5a9b8b77.tar.xz pttbbs-9b880e960c086c13bb90abd44675c27f5a9b8b77.tar.zst pttbbs-9b880e960c086c13bb90abd44675c27f5a9b8b77.zip |
use BBSUID instead 9999
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2686 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | util/bbsctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |