]> diplodocus.org Git - nmh/blobdiff - uip/dp.c
datetime.c: Don't atoi("0") if zone is NULL.
[nmh] / uip / dp.c
index 617da20..3575c97 100644 (file)
--- a/uip/dp.c
+++ b/uip/dp.c
@@ -124,7 +124,7 @@ main (int argc, char **argv)
 
     context_save ();   /* save the context file */
     fmt_free (fmt, 1);
-    done(min(status, MAX_EXIT));
+    done(!!status);
     return 1;
 }