mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Slight tweaks to config parsing error handling (#1575)
This commit is contained in:
parent
af1edadf72
commit
01973214bf
3 changed files with 19 additions and 7 deletions
|
|
@ -81,9 +81,8 @@ namespace l
|
|||
u64 offset;
|
||||
|
||||
offset = s_.find_first_not_of("+<>-=");
|
||||
if (offset == std::string::npos) {
|
||||
if(offset == std::string::npos)
|
||||
return;
|
||||
}
|
||||
|
||||
if(offset > 1)
|
||||
offset = 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue