mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Check if password is used on command line interface.
This commit is contained in:
parent
1139070a0f
commit
9f1856268c
@ -1390,7 +1390,7 @@ static int parseOptions(int argc, char **argv) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!config.no_auth_warning) {
|
if (!config.no_auth_warning && config.auth != NULL) {
|
||||||
fputs("Warning: Using a password with '-a' or '-u' option on the command"
|
fputs("Warning: Using a password with '-a' or '-u' option on the command"
|
||||||
" line interface may not be safe.\n", stderr);
|
" line interface may not be safe.\n", stderr);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user