summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2009-12-13 20:52:05 -0600
committerVictor Lowther <victor.lowther@gmail.com>2009-12-13 20:52:05 -0600
commit3aba018a220356f519f1066f6116642266559028 (patch)
tree3cc0bc9f57f6c3c650efb4bf648a65fb654f1fd9
parent7897b32ab1a3878a053e800bf314911d8d56a803 (diff)
Oops, the "simple" bugfix for is_set broke everything else.
-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
}