commit | 636a1f85e89432601c59cdc3239fc867b4adf051 | [log] [tgz] |
---|---|---|
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | Mon May 19 09:29:47 2008 +0000 |
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | Mon May 19 09:29:47 2008 +0000 |
tree | d43c9ca120c29bf2d4567b1bb0674c6a8bae2b6d | |
parent | cb83abd7b6b052224c1f3b998e863aac76914afd [diff] [blame] |
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
diff --git a/shell/ash_test/printenv.c b/shell/ash_test/printenv.c index 06df21f..c4ccda8 100644 --- a/shell/ash_test/printenv.c +++ b/shell/ash_test/printenv.c
@@ -45,7 +45,7 @@ { for (envp = environ; *envp; envp++) puts (*envp); - exit (0); + exit(EXIT_SUCCESS); } /* printenv varname */ @@ -59,9 +59,9 @@ if (*eval == '=') { puts (eval + 1); - exit (0); + exit(EXIT_SUCCESS); } } } - exit (1); + exit(EXIT_FAILURE); }