aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-13 23:43:02 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-13 23:43:02 +0000
commita28fdd4abd25cfed3fc3184ef670a1be7cbfa2c5 (patch)
treed873a2ce54b6a46fc2b54a9afb7f1a9be164518e
parent475e38b07ce21378584533504532447ddde2d930 (diff)
downloadpaludis-a28fdd4abd25cfed3fc3184ef670a1be7cbfa2c5.tar.gz
paludis-a28fdd4abd25cfed3fc3184ef670a1be7cbfa2c5.tar.xz
Fix PStream exit status
-rw-r--r--paludis/util/pstream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/util/pstream.cc b/paludis/util/pstream.cc
index 11984d4..f2687a5 100644
--- a/paludis/util/pstream.cc
+++ b/paludis/util/pstream.cc
@@ -170,7 +170,7 @@ PStreamInBuf::exit_status()
Log::get_instance()->message(ll_debug, lc_no_context,
"manual pclose " + stringify(fdn) + " -> " + stringify(_exit_status));
}
- return _exit_status;
+ return WEXITSTATUS(_exit_status);
}
void