From: Tomi Ollila Date: Sun, 26 Feb 2017 19:12:39 +0000 (+0200) Subject: notmuch-config: ENOENT vs generic handling when file open fails. X-Git-Tag: 0.24_rc0~17 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=5c0f1bd36790e680f7d3b6082e3606bd3b84a588;hp=5c0f1bd36790e680f7d3b6082e3606bd3b84a588;p=notmuch 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. ---