diff options
author | Jim Meyering <jim@meyering.net> | 2000-05-07 14:57:03 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-05-07 14:57:03 +0000 |
commit | c4d7de4d1c9f92da230cf0514a49e5c5ef117c36 (patch) | |
tree | 420677eaaba2b4cc46fba150bde215e5c617eb0c | |
parent | 7942b60d4751f8b482684b2ed9e7a3bd344ea55e (diff) | |
download | coreutils-c4d7de4d1c9f92da230cf0514a49e5c5ef117c36.tar.xz |
(usage): Call close_stdout_status.
-rw-r--r-- | src/printenv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/printenv.c b/src/printenv.c index 5de1ff055..6ad9692d3 100644 --- a/src/printenv.c +++ b/src/printenv.c @@ -1,5 +1,5 @@ /* printenv -- print all or part of environment - Copyright (C) 1989-1997, 1999 Free Software Foundation, Inc. + Copyright (C) 1989-1997, 1999, 2000 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -70,6 +70,7 @@ If no environment VARIABLE specified, print them all.\n\ "), program_name, program_name); puts (_("\nReport bugs to <bug-sh-utils@gnu.org>.")); + close_stdout_status (2); } exit (status); } |