mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-06 13:17:44 +03:00
udevadm: also set LOG_DEBUG to LOG_REAL_SYSTEMD when --debug is passed
This commit is contained in:
parent
c809f33719
commit
b1d1cb5b47
@ -113,12 +113,13 @@ static int run(int argc, char *argv[]) {
|
||||
udev_parse_config();
|
||||
log_parse_environment();
|
||||
log_open();
|
||||
log_set_max_level_realm(LOG_REALM_SYSTEMD, log_get_max_level());
|
||||
|
||||
r = parse_argv(argc, argv);
|
||||
if (r <= 0)
|
||||
return r;
|
||||
|
||||
log_set_max_level_realm(LOG_REALM_SYSTEMD, log_get_max_level());
|
||||
|
||||
mac_selinux_init();
|
||||
return udevadm_main(argc, argv);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user