]> diplodocus.org Git - nmh/blobdiff - uip/msgchk.c
pending-release-notes: add mhshow's "-prefer", and mh-format's %(kibi/kilo)
[nmh] / uip / msgchk.c
index 39a2918d2c9b8eb3078fa35a4578d52bad4a1af7..49e758f07be9aa4c37a1dca644df06b624ed4324 100644 (file)
@@ -85,11 +85,7 @@ main (int argc, char **argv)
     char **argp, **arguments, *vec[MAXVEC];
     struct passwd *pw;
 
-    setlocale(LC_ALL, "");
-    invo_name = r1bindex (argv[0], '/');
-
-    /* read user profile/context */
-    context_read();
+    if (nmh_init(argv[0], 1)) { return 1; }
 
     mts_init (invo_name);