aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/functions.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/functions.sh.in b/sh/functions.sh.in
index 9283ec03..bc2203c9 100644
--- a/sh/functions.sh.in
+++ b/sh/functions.sh.in
@@ -46,7 +46,7 @@ yesno()
case "$value" in
[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) return 0;;
[Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) return 1;;
- *) vewarn "\$$1 is not set properly"; return 1;;
+ *) vewarn "\$$1 is not set properly"; return 2;;
esac
}