summaryrefslogtreecommitdiff
path: root/src/rc/rc-misc.c
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/rc-misc.c
parentb6be36e5ea31b39834f24645f16b763fd6cee825 (diff)
downloadopenrc-87f785cc31da9e30cc0fb631b035e3fd25161e89.tar.gz
openrc-87f785cc31da9e30cc0fb631b035e3fd25161e89.tar.bz2
openrc-87f785cc31da9e30cc0fb631b035e3fd25161e89.tar.xz
Style.
Diffstat (limited to 'src/rc/rc-misc.c')
-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 d85126d..56db3ff 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++;