chiark / gitweb /
build-sys: prepare v20
[elogind.git] / src / service.c
index 017b546d8cca0dacb6eb527d0fe0ec8095f2cc3b..e99dfcd4a2c428843386dc081aafa9207569e0ec 100644 (file)
@@ -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;
                 }