X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8c1b8e55ba6269af3f6be282eeb7b5a19516315f..38615191:/uip/refile.c?ds=inline diff --git a/uip/refile.c b/uip/refile.c index e77fe0b1..7bc6d0b9 100644 --- a/uip/refile.c +++ b/uip/refile.c @@ -163,7 +163,7 @@ main (int argc, char **argv) if (foldp > NFOLDERS) adios (NULL, "only %d folders allowed!", NFOLDERS); folders[foldp++].f_name = - path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); + pluspath (cp); } else app_msgarg(&msgs, cp); } @@ -266,7 +266,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; }