mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-02-22 03:15:26 +08:00
config: fix invalid error check when parsing config file
This commit is contained in:
parent
ddf0075938
commit
7edd3c6cf3
@ -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