From 791b56d401c69e32221ba40b8d1114801e96b834 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 30 Jan 2006 19:56:54 +0000 Subject: Added check that forbids configuration as root >:-) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2988 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure') diff --git a/configure b/configure index cf5c0fb19..aae2a75a2 100755 --- a/configure +++ b/configure @@ -12,6 +12,11 @@ # ######################################## +if (!$>) { + print "Cannot configure/build InspIRCd as root.\n"; + exit(666); +} + chomp($topdir = `pwd`); $this = resolve_directory($topdir); # PWD, Regardless. @modlist = (); # Declare for Module List.. -- cgit v1.2.3