summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c
index 017b546d8c..465e1a7a58 100644
--- a/src/service.c
+++ b/src/service.c
@@ -835,7 +835,7 @@ static int service_load_sysv_path(Service *s, const char *path) {
if (description) {
char *d;
- if (!(d = strappend("LSB: ", description))) {
+ if (!(d = strappend(s->sysv_has_lsb ? "LSB: " : "SysV: ", description))) {
r = -ENOMEM;
goto finish;
}