(unexec): Don't call exit, just return.
authorRichard M. Stallman <rms@gnu.org>
Thu, 7 Jan 1993 10:22:16 +0000 (10:22 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 7 Jan 1993 10:22:16 +0000 (10:22 +0000)
src/unexhp9k800.c

index 8d34a3a..c7902f1 100644 (file)
@@ -107,7 +107,7 @@ unexec(new_name, old_name, new_end_of_text, dummy1, dummy2)
   /* Close the binary file */
   close(old);
   close(new);
-  exit(0);
+  return 0;
 }
 
 /* Save current data space in the file, update header.  */