platform_unix.c
changeset 36 9e60553d82bc
parent 27 569fe0e4038e
child 40 bac807d1f829
--- a/platform_unix.c	Fri May 28 09:53:00 2004 +0000
+++ b/platform_unix.c	Fri May 28 09:54:19 2004 +0000
@@ -609,7 +609,7 @@
     find_basedir(&argc, argv);
     retval = mojopatch_main(argc, argv);
     free(basedir);
-    return(retval);
+    return((retval == PATCHSUCCESS) ? 0 : 1);
 } /* unixmain */
 
 /* end of platform_unix.c ... */