]> git.notmuchmail.org Git - notmuch/commitdiff
notmuch setup: Exit if EOF is encountered at any prompt.
authorCarl Worth <cworth@cworth.org>
Tue, 1 Dec 2009 16:06:09 +0000 (08:06 -0800)
committerCarl Worth <cworth@cworth.org>
Tue, 1 Dec 2009 16:06:09 +0000 (08:06 -0800)
If the user is explicitly providing EOF, then terminating the program
is the most likely desired thing to do. This also avoids undefined
behavior from continuing with an uninitialized response after ignoring
the return value of getline().


No differences found