From: Michael Prokop Date: Wed, 3 Feb 2010 02:06:26 +0000 (+0100) Subject: Fix usage of eend in config_cpu() if execution fails. X-Git-Tag: v0.9.6~4 X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=27914b00e672a70311c89e2c462c83ef11c4da3b Fix usage of eend in config_cpu() if execution fails. --- 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