]> git.cworth.org Git - notmuch/commit
notmuch-restore: fix return value propagation
authorDavid Bremner <bremner@debian.org>
Sun, 16 Dec 2012 20:04:21 +0000 (16:04 -0400)
committerDavid Bremner <bremner@debian.org>
Sun, 23 Dec 2012 03:11:47 +0000 (23:11 -0400)
commit77b4ec70ecb9fdcbf9afd31f3663bd0135806bda
tree77d8338f1aba320acbb3efb207b7bcf6d7ba05fd
parent4af1ac604ed982d6e584c8d471a9f8fc404c4d8b
notmuch-restore: fix return value propagation

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 or propagate the return value from
tag_op_list_apply in tag_message.
notmuch-restore.c