X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Frefile.c;h=2bd12ed837f80cad03850eacf948d7fc30f2b679;hb=21280aed16e7a74b4c578c328ef76e2a4649985c;hp=0b3afe12b357a33df9c491eb7686f5ca10029aa3;hpb=0569d6d1631dc90d4f2f2df6bdd0599c7ecc7814;p=mmh diff --git a/uip/refile.c b/uip/refile.c index 0b3afe1..2bd12ed 100644 --- a/uip/refile.c +++ b/uip/refile.c @@ -3,8 +3,6 @@ * refile.c -- move or link message(s) from a source folder * -- into one or more destination folders * - * $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. @@ -102,10 +100,10 @@ main (int argc, char **argv) snprintf (buf, sizeof(buf), "%s [msgs] [switches] +folder ...", invo_name); print_help (buf, switches, 1); - done (1); + done (0); case VERSIONSW: print_version(invo_name); - done (1); + done (0); case LINKSW: linkf++; @@ -266,7 +264,8 @@ 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; }