summaryrefslogtreecommitdiffstats
path: root/helper/system.inc
diff options
context:
space:
mode:
Diffstat (limited to 'helper/system.inc')
-rw-r--r--helper/system.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/helper/system.inc b/helper/system.inc
index c37368cb..0796c974 100644
--- a/helper/system.inc
+++ b/helper/system.inc
@@ -12,8 +12,8 @@ ARCH_LIB_DIR=$(ldd $SHELL | grep "libc.so" | sed -r 's#^.*(/lib.*)/libc.so.*$#\1
[ -z "$ARCH_LIB_DIR" -o ! -d "$ARCH_LIB_DIR" ] && perror "Could not determine arch dependent lib dir (where libc.so resides)"
# determine kernel version
-KERNEL_VERSION=$(uname -r)
-[ ! -z $KERNEL_VERSION ] || pwarning "Could not determine kernel version."
+KERNEL_CURRENT_VERSION=$(uname -r)
+[ ! -z $KERNEL_CURRENT_VERSION ] || pwarning "Could not determine kernel version."
# determine number of CPU cores
CPU_CORES=$(cat /proc/cpuinfo | grep processor | wc -l)