From f81609470952ba8a32ffe2f1d1eb95918b6475bb Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 9 Jan 2013 15:50:21 +0100 Subject: [PATCH] Fix displaying information about virtual environment This was non-sense. --- autoconfig.functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autoconfig.functions b/autoconfig.functions index 0e962c5..6a78f93 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -500,10 +500,10 @@ config_time(){ # {{{ print kernel info config_kernel(){ - if $VIRTUAL ; then - einfo "Running Linux Kernel $KERNEL $VMWARE" ; eend 0 - else + if $VIRTUAL && [ -n "$VIRTUAL_ENV" ] ; then einfo "Running Linux Kernel $KERNEL inside $VIRTUAL_ENV" ; eend 0 + else + einfo "Running Linux Kernel $KERNEL" ; eend 0 fi if [ -r /proc/cpuinfo ] ; then -- 2.1.4