mem2swap.c
changeset 139 cb1d3f4cf18e
parent 138 dff18d1ac2af
child 167 7c6b221900bf
--- a/mem2swap.c
+++ b/mem2swap.c
@@ -78,6 +78,7 @@
     switch (pid) {
     case 0:
         execve (CMD_FREE, args, NULL);
+        exit (EXIT_FAILURE);
     case -1:
         perror ("Fork Error");
         return EXIT_FAILURE;