1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +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:
Tim Potter 2001-07-27 22:54:50 +00:00
parent b99e314cfb
commit df2cdf6d7b

View File

@ -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 */