mirror of
https://github.com/troglobit/finit.git
synced 2026-10-12 10:12:32 +00:00
Minor, improve log message slightly
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+7
-6
@@ -1516,16 +1516,17 @@ int service_register(int type, char *cfg, struct rlimit rlimit[], char *file)
|
||||
goto incomplete;
|
||||
}
|
||||
|
||||
levels = conf_parse_runlevels(runlevels);
|
||||
if (runlevel > 0 && !ISOTHER(levels, 0)) {
|
||||
dbg("Skipping %s, bootstrap is completed.", cmd);
|
||||
return 0;
|
||||
}
|
||||
|
||||
name = parse_name(cmd, name);
|
||||
if (!id)
|
||||
id = "";
|
||||
|
||||
levels = conf_parse_runlevels(runlevels);
|
||||
if (runlevel > 0 && !ISOTHER(levels, 0)) {
|
||||
dbg("Skipping %s%s%s, bootstrap is completed.",
|
||||
name, id[0] ? ":" : "", id[0] ? id : "");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (type == SVC_TYPE_TTY) {
|
||||
size_t i, len = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user