mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
Return an exit code when connect failed.
Patch from Michael Sweet <mike@easysw.com> (This used to be commit 2c7d09b38dceb58b85fe49efb7c7e3def84c587b)
This commit is contained in:
parent
b99e314cfb
commit
df2cdf6d7b
@ -698,7 +698,7 @@ static void usage(void)
|
||||
/* open a connection to the specified server */
|
||||
ZERO_STRUCTP (&cli);
|
||||
if (!setup_connection (&cli, server, &creds)) {
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* There are no pointers in ntuser_creds struct so zero it out */
|
||||
|
Loading…
x
Reference in New Issue
Block a user