git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1440
e03df62e-2008-0410-955e-
edbf42e46eb7
chomp($config{OSNAME} = `/bin/uname -s`); # Operating System Name
if (!$config{OSNAME}) {
chomp($config{OSNAME} = `/bin/uname -s`); # Operating System Name
if (!$config{OSNAME}) {
- $config{OSNAME} = "Unknown"; # For use when uname fails.
+ chomp($config{OSNAME} = `uname -s`);
+ if (!$config{OSNAME}) {
+ $config{OSNAME} = "Unknown";
+ }
}
if (!$config{MAX_CLIENT_T}) {
}
if (!$config{MAX_CLIENT_T}) {