summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-03-24 11:02:53 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2013-03-24 11:02:53 +0100
commit422c791e5bd46ac905e8181a526ed0c5308cb36f (patch)
tree5de2aa2c2a143b21005a6e5225ede2f580876a27 /src/lib
parente8210827fd59e4539a70af55cb452b211633fedd (diff)
downloadnetctl-422c791e5bd46ac905e8181a526ed0c5308cb36f.tar.gz
netctl-422c791e5bd46ac905e8181a526ed0c5308cb36f.tar.xz
Nitpicking on a return value
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/globals2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/globals b/src/lib/globals
index bfb4575..94c2ac7 100644
--- a/src/lib/globals
+++ b/src/lib/globals
@@ -51,7 +51,7 @@ is_yes() {
;;
*)
report_error "Not a valid truth value: '$1'"
- return 1
+ return 2
;;
esac
}