diff options
Diffstat (limited to '')
-rw-r--r-- | src/udev/cdrom_id/cdrom_id.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/udev/cdrom_id/cdrom_id.c b/src/udev/cdrom_id/cdrom_id.c index f6f45f4e2a..9b638092fb 100644 --- a/src/udev/cdrom_id/cdrom_id.c +++ b/src/udev/cdrom_id/cdrom_id.c @@ -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); |