]> git.notmuchmail.org Git - notmuch/commitdiff
notmuch-config: ENOENT vs generic handling when file open fails.
authorTomi Ollila <tomi.ollila@iki.fi>
Sun, 26 Feb 2017 19:12:39 +0000 (21:12 +0200)
committerDavid Bremner <david@tethera.net>
Tue, 28 Feb 2017 12:08:26 +0000 (08:08 -0400)
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.


No differences found