mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
udev/cdrom_id: re-enable logging related functions
The logging related functions are mistakenly located in main() by a084b3878955bc1b93adcaa7a41acb83b18eff9b, and dropped by 23afa884d4f3bcd97160a893816f9ba170f62ad4.
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…
x
Reference in New Issue
Block a user