aboutsummaryrefslogtreecommitdiff
path: root/lib/database.cc
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2017-02-26 21:12:39 +0200
committerDavid Bremner <david@tethera.net>2017-02-28 08:08:26 -0400
commit5c0f1bd36790e680f7d3b6082e3606bd3b84a588 (patch)
tree22c4d8773a8035e6347c77a8e16a265261ac4e30 /lib/database.cc
parent80aeaf7f59e250f034ecc99aa7fcd1e6dd14d9bb (diff)
notmuch-config: ENOENT vs generic handling when file open fails.
When opening configuration file fails, ENOENT (file not found) is handled specially -- in setup missing file is ok (often expected), and otherwise user can be informed to run notmuch setup. In any other case the the reason is unknown, so there is no other option but to print generic error message to stderr.
Diffstat (limited to 'lib/database.cc')
0 files changed, 0 insertions, 0 deletions