[PATCH 2/3] config_check_boolean: add _ to yes and no markers
Jacob Keller
jacob.e.keller at intel.com
Tue May 27 15:17:18 PDT 2014
The config_check_boolean function had a bug, since no and yes were not
properly prefixed.
Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
---
email/aiaiai-email-sh-functions | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/email/aiaiai-email-sh-functions b/email/aiaiai-email-sh-functions
index ad652606ed4b..6fbeecb35ebe 100644
--- a/email/aiaiai-email-sh-functions
+++ b/email/aiaiai-email-sh-functions
@@ -181,10 +181,10 @@ config_check_boolean()
# Prefixing with _ makes it easier to catch empty string as false
case "_$value" in
- _|_0|_false|no)
+ _|_0|_false|_no)
printf %s "0"
;;
- _1|_true|yes)
+ _1|_true|_yes)
printf %s "1"
;;
*)
--
1.9.0
More information about the aiaiai
mailing list