[PATCH v2 07/10] cli: indicate insert failure mode in exit status

2014-04-16 Thread Peter Wang
Make insert return a different exit code, 2, for failure to write the message file to disk, and exit code 1 for other errors. --- notmuch-insert.c| 30 ++ test/T070-insert.sh | 4 ++-- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/notmuch-insert.

[PATCH v2 07/10] cli: indicate insert failure mode in exit status

2014-04-16 Thread Peter Wang
Make insert return a different exit code, 2, for failure to write the message file to disk, and exit code 1 for other errors. --- notmuch-insert.c| 30 ++ test/T070-insert.sh | 4 ++-- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/notmuch-insert.