udev/cdrom_id: drop duplicated logs

This commit is contained in:
Yu Watanabe 2018-08-23 21:04:25 +09:00
parent 20a744b795
commit f1ff9e8dd9
1 changed files with 0 additions and 2 deletions

View File

@ -874,7 +874,6 @@ int main(int argc, char *argv[]) {
node = argv[optind];
if (!node) {
log_error("no device");
fprintf(stderr, "no device\n");
rc = 1;
goto exit;
}
@ -892,7 +891,6 @@ int main(int argc, char *argv[]) {
}
if (fd < 0) {
log_debug("unable to open '%s'", node);
fprintf(stderr, "unable to open '%s'\n", node);
rc = 1;
goto exit;
}