diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-09-28 00:28:16 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-09-28 00:28:16 +0200 |
commit | cb33e400006806676baac91fb297185b179931c7 (patch) | |
tree | e9f00046859cfdc5d80b14496448c28c7669359c /src/service.c | |
parent | b4a16b7b8abddb93205577aefd126040ff5310a3 (diff) |
service: ignore sysv $null service
Diffstat (limited to 'src/service.c')
-rw-r--r-- | src/service.c | 4 |
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]))) |