diff options
Diffstat (limited to 'make')
-rw-r--r-- | make/template/inspircd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make/template/inspircd b/make/template/inspircd index 322ee2cd6..139177100 100644 --- a/make/template/inspircd +++ b/make/template/inspircd @@ -33,7 +33,7 @@ my $executable = "@EXECUTABLE@"; my $version = "@VERSION@"; my $uid = "@UID@"; -if ($< == 0 || $> == 0) { +if (!("--runasroot" ~~ @ARGV) && ($< == 0 || $> == 0)) { if ($uid !~ /^\d+$/) { # Named UID, look it up $uid = getpwnam $uid; |