mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
config: fix invalid error check when parsing config file
This commit is contained in:
parent
ddf0075938
commit
7edd3c6cf3
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ namespace l
|
|||
else
|
||||
{
|
||||
l::read_config(data_,is);
|
||||
if(is.fail())
|
||||
if(!is.eof())
|
||||
data_->errs->push_back("failure reading config file");
|
||||
is.close();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue