mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
resolve-host: fix missed search&replace
This commit is contained in:
parent
fa1c4b518e
commit
590baf91f3
@ -486,7 +486,7 @@ static int parse_argv(int argc, char *argv[]) {
|
||||
arg_type = dns_type_from_string(optarg);
|
||||
if (arg_type < 0) {
|
||||
log_error("Failed to parse RR record type %s", optarg);
|
||||
return r;
|
||||
return arg_type;
|
||||
}
|
||||
assert(arg_type > 0 && (uint16_t) arg_type == arg_type);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user