commit | 0b90d4160ba69ecabf130ba2256f60c1294ded47 | [log] [tgz] |
---|---|---|
author | Daniel Lezcano <daniel.lezcano@linaro.org> | Tue Sep 20 08:31:04 2011 +0200 |
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | Tue Sep 20 08:31:04 2011 +0200 |
tree | 7d094e4e0de309e030904e07a436bf38065d8c48 | |
parent | 628dcb0eea0d81fb3f7b99f1faafc0714429549c [diff] [blame] |
fix typo return values Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
diff --git a/include/functions.sh b/include/functions.sh index f2b6577..6702cb2 100644 --- a/include/functions.sh +++ b/include/functions.sh
@@ -114,12 +114,12 @@ latency=$(cat $dirpath/cpuinfo_transition_latency) if [ $? != 0 ]; then - return -1 + return 1 fi nrfreq=$(cat $dirpath/scaling_available_frequencies | wc -w) if [ $? != 0 ]; then - return -1 + return 1 fi nrfreq=$((nrfreq + 1))