1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

merge fix for core dump when called with no args from 2.2

This commit is contained in:
Herb Lewis 0001-01-01 00:00:00 +00:00
parent d0b58f66ed
commit 8b38cca631

View File

@ -432,7 +432,7 @@ static void usage(void)
DEBUGLEVEL = 0;
AllowDebugChange = False;
if (argv[1][0] == '-' || argc < 2) {
if (argc < 2 || argv[1][0] == '-') {
usage();
exit(1);
}