mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
udev/cdrom_id: re-enable logging related functions
The logging related functions are mistakenly located in main() bya084b38789
, and dropped by23afa884d4
.
This commit is contained in:
parent
888f65ace6
commit
4dbc0be2e5
@ -948,6 +948,11 @@ static int run(int argc, char *argv[]) {
|
||||
_cleanup_(context_clear) Context c;
|
||||
int r;
|
||||
|
||||
log_set_target(LOG_TARGET_AUTO);
|
||||
udev_parse_config();
|
||||
log_parse_environment();
|
||||
log_open();
|
||||
|
||||
context_init(&c);
|
||||
|
||||
r = parse_argv(argc, argv);
|
||||
|
Loading…
Reference in New Issue
Block a user