mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-03-14 09:55:12 +08:00
Merge pull request #845 from trapexit/configfile
config: fix invalid error check when parsing config file
This commit is contained in:
commit
2e34c7598a
@ -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…
x
Reference in New Issue
Block a user