diff options
| author | Jim Meyering <jim@meyering.net> | 2000-05-07 14:48:25 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2000-05-07 14:48:25 +0000 |
| commit | a3d40a9447e08adf7783f1e096463e64ed82f761 (patch) | |
| tree | 63880095aaf5a4e9442069078adb3b4e908bff30 /src/su.c | |
| parent | Include "closeout.h". (diff) | |
| download | coreutils-a3d40a9447e08adf7783f1e096463e64ed82f761.tar.gz coreutils-a3d40a9447e08adf7783f1e096463e64ed82f761.zip | |
Include "closeout.h".
(main): Call atexit with close_stdout.
Diffstat (limited to 'src/su.c')
| -rw-r--r-- | src/su.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -82,6 +82,7 @@ #define getusershell _getusershell_sys_proto_ #include "system.h" +#include "closeout.h" #undef getusershell @@ -449,6 +450,7 @@ Change the effective user id and group id to that of USER.\n\ A mere - implies -l. If USER not given, assume root.\n\ ")); puts (_("\nReport bugs to <bug-sh-utils@gnu.org>.")); + close_stdout (); } exit (status); } |
