From: epg <> Date: Mon, 2 Sep 2002 01:20:16 +0000 (+0000) Subject: (store_message): Splitting the two mark failure cases, i accidentally X-Git-Url: https://diplodocus.org/git/minc/commitdiff_plain/fed06050ca9beebcc1d9e95e5a3783c4a9f06e91?ds=inline;hp=e0fd2b7eae13eced0ceeabba651c85fb3a664e75 (store_message): Splitting the two mark failure cases, i accidentally reversed the sense of a test on one. --- diff --git a/minc b/minc index 29a02d7..87c5e9a 100755 --- a/minc +++ b/minc @@ -408,7 +408,7 @@ sub store_message { $status = system("mark +$mhfolder $msgnum -sequence unseen -add"); if (not WIFEXITED($status)) { err(&EX_OSERR, "Failed to run mark"); - } elsif (WEXITSTATUS($status) == 0) { + } elsif (WEXITSTATUS($status) != 0) { errx(&EX_SOFTWARE, "Failed to mark message unseen."); } }