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:
parent
d0b58f66ed
commit
8b38cca631
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user