diff options
Diffstat (limited to 'capitests/test-command.c')
-rw-r--r-- | capitests/test-command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/capitests/test-command.c b/capitests/test-command.c index 7a3e64bd..e5cdc93a 100644 --- a/capitests/test-command.c +++ b/capitests/test-command.c @@ -57,12 +57,12 @@ main (int argc, char *argv[]) printf ("Result11-1\nResult11-2"); } else { fprintf (stderr, "unknown parameter: %s\n", argv[1]); - exit (1); + exit (EXIT_FAILURE); } } else { fprintf (stderr, "missing parameter\n"); - exit (1); + exit (EXIT_FAILURE); } - exit (0); + exit (EXIT_SUCCESS); } |