[Pm-utils] [PATCH 10/17] Minor quotation fix in 94cpufreq.
Victor Lowther
victor.lowther at gmail.com
Sat Feb 9 18:31:14 PST 2008
---
pm/sleep.d/94cpufreq | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pm/sleep.d/94cpufreq b/pm/sleep.d/94cpufreq
index a3db064..2783c74 100755
--- a/pm/sleep.d/94cpufreq
+++ b/pm/sleep.d/94cpufreq
@@ -22,7 +22,7 @@ thaw_cpufreq()
( cd /sys/devices/system/cpu/
for x in cpu[0-9]*/cpufreq/scaling_governor ; do
[ -f "$x" ] || continue
- local gov=$(restorestate "${x%%/*}_governor")
+ local gov="$(restorestate "${x%%/*}_governor")"
[ -z "$gov" ] && continue
echo "$gov" > "$x"
done )
--
1.5.3.8
More information about the Pm-utils
mailing list