summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-28 00:28:16 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-28 00:28:16 +0200
commitcb33e400006806676baac91fb297185b179931c7 (patch)
treee9f00046859cfdc5d80b14496448c28c7669359c /src
parentb4a16b7b8abddb93205577aefd126040ff5310a3 (diff)
service: ignore sysv $null service
Diffstat (limited to 'src')
-rw-r--r--src/service.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 5706d7c490..6a4d350c9f 100644
--- a/src/service.c
+++ b/src/service.c
@@ -280,6 +280,10 @@ static int sysv_translate_facility(const char *name, char **_r) {
unsigned i;
char *r;
+ /* SuSE insserv extension */
+ if (streq(name, "$null"))
+ return 0;
+
for (i = 0; i < ELEMENTSOF(table); i += 2)
if (streq(table[i], name)) {
if (!(r = strdup(table[i+1])))