summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/pinfo.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index 2159f2005..83764651d 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -140,11 +140,8 @@ pinfo::exit (DWORD n)
fill_rusage (&r, hMainProc);
add_rusage (&self->rusage_self, &r);
- /* The below call could be moved down two lines, but this provides consistent
- output from strace and the overhead should be extremely negligible. */
maybe_set_exit_code_from_windows ();
-
if (n != EXITCODE_NOSET)
{
SetCurrentDirectory ("c:\\"); /* Move to an innocuous location to