]> git.cworth.org Git - obsolete/notmuch-old/commitdiff
cli: config: fix config file save when the file does not exist
authorJani Nikula <jani@nikula.org>
Sun, 5 May 2013 19:18:20 +0000 (22:18 +0300)
committerDavid Bremner <bremner@debian.org>
Sun, 12 May 2013 10:46:44 +0000 (07:46 -0300)
The use of realpath(3) in
commit 58ed67992d0ec1fa505026105218fa449f7980b0
Author: Jani Nikula <jani@nikula.org>
Date:   Sun Apr 7 20:15:03 2013 +0300

    cli: config: do not overwrite symlinks when saving config file

broke config file save when the file does not exist, which results in
'notmuch setup' always failing to create a new config file.

Fix by checking ENOENT from realpath(3).


No differences found