[PATCH 1/3] notmuch-restore: fix return value propagation

2012-12-16 Thread da...@tethera.net
From: David Bremner Previously notmuch_restore_command returned 0 if tag_message returned a non-zero (failure) value. This is wrong, since non-zero status indicates something mysterious went wrong with retrieving the message, or applying it. There was also a failure to check

[PATCH 1/3] notmuch-restore: fix return value propagation

2012-12-16 Thread david
From: David Bremner brem...@debian.org Previously notmuch_restore_command returned 0 if tag_message returned a non-zero (failure) value. This is wrong, since non-zero status indicates something mysterious went wrong with retrieving the message, or applying it. There was also a failure to check