aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-18 13:30:12 +0000
committerRoy Marples <roy@marples.name>2008-01-18 13:30:12 +0000
commit87f785cc31da9e30cc0fb631b035e3fd25161e89 (patch)
tree40eb234f63a12a82d5ed91b29f62f9b335f94e86 /src/rc
parentb6be36e5ea31b39834f24645f16b763fd6cee825 (diff)
Style.
Diffstat (limited to 'src/rc')
-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++;