X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Frmm.c;h=28c26fb4703a047e78f1e89506bdf28028bf5f29;hb=706236baa4c4670b5a074092dec5dec63ff50663;hp=b1e887e7103591258b39de7073bc7dc330b8bd05;hpb=0569d6d1631dc90d4f2f2df6bdd0599c7ecc7814;p=mmh diff --git a/uip/rmm.c b/uip/rmm.c index b1e887e..28c26fb 100644 --- a/uip/rmm.c +++ b/uip/rmm.c @@ -2,8 +2,6 @@ /* * rmm.c -- remove a message(s) * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -60,10 +58,10 @@ main (int argc, char **argv) snprintf (buf, sizeof(buf), "%s [+folder] [msgs] [switches]", invo_name); print_help (buf, switches, 1); - done (1); + done (0); case VERSIONSW: print_version(invo_name); - done (1); + done (0); case UNLINKSW: unlink_msgs++; @@ -127,5 +125,6 @@ main (int argc, char **argv) context_replace (pfolder, folder); /* update current folder */ context_save (); /* save the context file */ folder_free (mp); /* free folder structure */ - return done (0); + done (0); + return 1; }