summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2009-12-13 20:53:45 -0600
committerVictor Lowther <victor.lowther@gmail.com>2009-12-13 20:53:45 -0600
commita253fe1a2f1aa6b9a4cd3305c0c683efc289f824 (patch)
treefc34b9e4b675dad12a33ec89e82e8af0fdf0652a /pm
parent8cb8fb33ce7450ea975a6e51a9516e31b9b18eb8 (diff)
parent3aba018a220356f519f1066f6116642266559028 (diff)
Merge is_set fix from 1.2 branch
Diffstat (limited to 'pm')
-rw-r--r--pm/functions.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/pm/functions.in b/pm/functions.in
index 4fb9d1f..8388c65 100644
--- a/pm/functions.in
+++ b/pm/functions.in
@@ -8,8 +8,8 @@
is_set()
{
case ${1-UNSET} in
- true|yes|TRUE|YES|on|ON|1|'') return 0;;
- false|FALSE|no|NO|off|OFF|0|UNSET) return 1;;
+ true|yes|TRUE|YES|on|ON|1) return 0;;
+ false|FALSE|no|NO|off|OFF|0) return 1;;
*) return 2;;
esac
}