1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 09:56:51 +03:00

core: downgrade unit type not supported message

Otherwise every daemon reload prints out warnings like:

systemd[1]: Unit type .busname is not supported on this system.
systemd[1]: Unit type .swap is not supported on this system.
This commit is contained in:
Umut Tezduyar Lindskog 2015-02-20 10:53:28 +01:00 committed by Lennart Poettering
parent ba89821c10
commit 03afec3c9a

View File

@ -953,7 +953,7 @@ int manager_enumerate(Manager *m) {
int q; int q;
if (unit_vtable[c]->supported && !unit_vtable[c]->supported(m)) { if (unit_vtable[c]->supported && !unit_vtable[c]->supported(m)) {
log_info("Unit type .%s is not supported on this system.", unit_type_to_string(c)); log_debug("Unit type .%s is not supported on this system.", unit_type_to_string(c));
continue; continue;
} }