summaryrefslogtreecommitdiff
path: root/pm/functions.in
diff options
context:
space:
mode:
Diffstat (limited to 'pm/functions.in')
-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
}