aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/printenv.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-19 09:29:47 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-19 09:29:47 +0000
commit636a1f85e89432601c59cdc3239fc867b4adf051 (patch)
treed43c9ca120c29bf2d4567b1bb0674c6a8bae2b6d /shell/ash_test/printenv.c
parentcb83abd7b6b052224c1f3b998e863aac76914afd (diff)
downloadbusybox-636a1f85e89432601c59cdc3239fc867b4adf051.tar.gz
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
Diffstat (limited to 'shell/ash_test/printenv.c')
-rw-r--r--shell/ash_test/printenv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/ash_test/printenv.c b/shell/ash_test/printenv.c
index 06df21fdc..c4ccda8a6 100644
--- a/shell/ash_test/printenv.c
+++ b/shell/ash_test/printenv.c
@@ -45,7 +45,7 @@ main (argc, argv)
{
for (envp = environ; *envp; envp++)
puts (*envp);
- exit (0);
+ exit(EXIT_SUCCESS);
}
/* printenv varname */
@@ -59,9 +59,9 @@ main (argc, argv)
if (*eval == '=')
{
puts (eval + 1);
- exit (0);
+ exit(EXIT_SUCCESS);
}
}
}
- exit (1);
+ exit(EXIT_FAILURE);
}