aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rc/rc-misc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c
index d85126da..56db3ff0 100644
--- a/src/rc/rc-misc.c
+++ b/src/rc/rc-misc.c
@@ -396,13 +396,15 @@ bool service_plugable (const char *service)
char *token;
bool allow = true;
char *match = rc_conf_value ("rc_plug_services");
+
if (! match)
- return true;
+ return (true);
list = xstrdup (match);
p = list;
while ((token = strsep (&p, " "))) {
bool truefalse = true;
+
if (token[0] == '!') {
truefalse = false;
token++;