summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-08-25 14:10:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-08-25 14:10:45 +0000
commit77fdd81d49941428db7bb6e30a2abae4b2dfdaf2 (patch)
treeeaec38af075f6010fa02a12ec3bf2c404d0aba3e /configure
parent1571845458f48e7d747bc70be7078e5fef963481 (diff)
Added a chomp() just to be sure on kernel 2.6 check
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1624 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 216ff1786..1ec70a147 100755
--- a/configure
+++ b/configure
@@ -152,6 +152,7 @@ if (!$fail)
}
if ($has_epoll) {
my $kernel = `uname -r`;
+ chomp($kernel);
if ($kernel !~ /2\.6/) {
$has_epoll = 0;
}