diff options
Diffstat (limited to 'lib-src/profile.c')
-rw-r--r-- | lib-src/profile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/profile.c b/lib-src/profile.c index edd36cafd37..cfee5b8608f 100644 --- a/lib-src/profile.c +++ b/lib-src/profile.c @@ -85,13 +85,13 @@ main (void) puts (get_time ()); break; case 'q': - exit (EXIT_SUCCESS); + return EXIT_SUCCESS; } /* Anything remaining on the line is ignored. */ while (c != '\n' && c != EOF) c = getchar (); } - exit (EXIT_FAILURE); + return EXIT_FAILURE; } |