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:
committed by
Luca Boccassi
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);
|
||||
|
||||
Reference in New Issue
Block a user