turns out the libstdc++ on fc30 does not include error_code.message() in
filesystem_error.what(). let's make it optional
Signed-off-by: Kefu Chai <kchai@redhat.com>
$ env CEPH_CONF=from-env ceph-conf -s foo bar
did not load config file, using default settings.
.* \-1 Errors while parsing config file! (re)
- .* \-1 parse_file: filesystem error: cannot get file size: No such file or directory \[from-env\] (re)
+ .* \-1 parse_file: filesystem error: cannot get file size: (No such file or directory )?\[from-env\] (re)
.* \-1 Errors while parsing config file! (re)
- .* \-1 parse_file: filesystem error: cannot get file size: No such file or directory \[from-env\] (re)
+ .* \-1 parse_file: filesystem error: cannot get file size: (No such file or directory )?\[from-env\] (re)
[1]
# command-line arguments should override environment