From 0b6667568e88c2d76ecd9bfc5a4445b88435b54e Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 8 Mar 2006 00:33:05 +0000 Subject: Remove some tabbing, remove a typo, use Exit() rather than exit() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3537 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/userprocess.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 76be62d71..24bb91f94 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -386,23 +386,23 @@ void OpenLog(char** argv, int argc) void CheckRoot() { - if (geteuid() == 0) - { - printf("WARNING!!! You are running an irc server as ROOT!!! DO NOT DO THIS!!!\n\n"); - log(DEFAULT,"InspIRCd: startup: not starting with UID 0!"); - Exit(ERROR); - } + if (geteuid() == 0) + { + printf("WARNING!!! You are running an irc server as ROOT!!! DO NOT DO THIS!!!\n\n"); + log(DEFAULT,"InspIRCd: startup: not starting with UID 0!"); + Exit(ERROR); + } } void CheckDie() { - if (*Config->DieValue) - { - printf("WARNING: %s\n\n",Config->DieValue); - log(DEFAULT,"Ut-Oh, somebody didn't read their config file: '%s'",Config->DieValue); - exit(0); - } + if (*Config->DieValue) + { + printf("WARNING: %s\n\n",Config->DieValue); + log(DEFAULT,"Uh-Oh, somebody didn't read their config file: '%s'",Config->DieValue); + Exit(ERROR); + } } void LoadAllModules(InspIRCd* ServerInstance) -- cgit v1.2.3