diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2011-09-20 08:31:04 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2011-09-20 08:31:04 +0200 |
commit | 0b90d4160ba69ecabf130ba2256f60c1294ded47 (patch) | |
tree | 7d094e4e0de309e030904e07a436bf38065d8c48 | |
parent | 628dcb0eea0d81fb3f7b99f1faafc0714429549c (diff) |
fix typo return values
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r-- | include/functions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ wait_latency() { 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)) |