summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/fortune/fortune/fortune.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c
index edff26f..65ae35e 100644
--- a/games/fortune/fortune/fortune.c
+++ b/games/fortune/fortune/fortune.c
@@ -216,7 +216,7 @@ main(int argc, char *argv[])
sleep((unsigned int) max(Fort_len / CPERS, MINW));
}
- return (0);
+ exit(0);
}
void
OpenPOWER on IntegriCloud