mirror of
https://github.com/samba-team/samba.git
synced 2025-05-30 01:05:50 +03:00
Display an error message when the server cannot be resolved when running at
debug level 0. (This used to be commit 451286febd251d25b8beeae9b41a09102240c219)
This commit is contained in:
parent
f420f75508
commit
4315edcdca
@ -700,7 +700,7 @@ static NTSTATUS process_cmd(struct cli_state *cli, char *cmd)
|
|||||||
/* Resolve the IP address */
|
/* Resolve the IP address */
|
||||||
|
|
||||||
if (!opt_ipaddr && !resolve_name(server, &server_ip, 0x20)) {
|
if (!opt_ipaddr && !resolve_name(server, &server_ip, 0x20)) {
|
||||||
DEBUG(1,("Unable to resolve %s\n", server));
|
fprintf(stderr, "Unable to resolve %s\n", server);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user