Browse Source
Merge pull request #845 from trapexit/configfile
config: fix invalid error check when parsing config file
pull/851/head
2.32.0
trapexit
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/option_parser.cpp
|
@ -129,7 +129,7 @@ namespace l |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
l::read_config(data_,is); |
|
|
l::read_config(data_,is); |
|
|
if(is.fail()) |
|
|
|
|
|
|
|
|
if(!is.eof()) |
|
|
data_->errs->push_back("failure reading config file"); |
|
|
data_->errs->push_back("failure reading config file"); |
|
|
is.close(); |
|
|
is.close(); |
|
|
} |
|
|
} |
|
|