mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
curl: fix -q [regression]
This broke in 7.49.0 with commit e200034425
Fixes #842
This commit is contained in:
parent
5409e1d793
commit
6dbc23cfd8
@ -1842,7 +1842,7 @@ CURLcode operate(struct GlobalConfig *config, int argc, argv_item_t argv[])
|
||||
|
||||
/* Parse .curlrc if necessary */
|
||||
if((argc == 1) ||
|
||||
(!curlx_strequal(argv[1], "-q") ||
|
||||
(!curlx_strequal(argv[1], "-q") &&
|
||||
!curlx_strequal(argv[1], "--disable"))) {
|
||||
parseconfig(NULL, config); /* ignore possible failure */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user