mirror of
https://github.com/curl/curl.git
synced 2026-04-15 08:01:41 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue