From 27914b00e672a70311c89e2c462c83ef11c4da3b Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 3 Feb 2010 03:06:26 +0100 Subject: [PATCH 1/1] Fix usage of eend in config_cpu() if execution fails. --- autoconfig.functions | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/autoconfig.functions b/autoconfig.functions index 3cc12ee..b69f79c 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1427,10 +1427,11 @@ else eend 0 else SKIP_CPU_GOVERNOR=1 - eend $1 + eend $RC fi else - ewarn "Could not detect an appropriate CPU for use with cpu frequency scaling - skipping." && eend 1 + ewarn "Could not detect an appropriate CPU for use with cpu frequency scaling - skipping." + eend 1 fi # $MODULE fi # loadcpufreq -- 2.1.4