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
|
|
@ -557,6 +557,9 @@ Config::Err::to_string() const
|
|||
case ELOOP:
|
||||
s = "too many levels of config";
|
||||
break;
|
||||
case ENOENT:
|
||||
s = "no value set";
|
||||
break;
|
||||
default:
|
||||
s = strerror(err);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue