aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-09-16 21:09:58 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-09-16 21:09:58 +0000
commitf3edd53461f5f1dc43c010ceb9e42610df100a1e (patch)
tree34d96bcf24d0dedf137367b6490bb43f0c0e7ad7
parent4f2d03f65587169600bb71eadd318402c94031e0 (diff)
downloadpaludis-f3edd53461f5f1dc43c010ceb9e42610df100a1e.tar.gz
paludis-f3edd53461f5f1dc43c010ceb9e42610df100a1e.tar.xz
Better message ordering
-rw-r--r--src/paludis/install.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/paludis/install.cc b/src/paludis/install.cc
index 94c0677..ec630fc 100644
--- a/src/paludis/install.cc
+++ b/src/paludis/install.cc
@@ -556,12 +556,12 @@ namespace
cout << endl;
cerr << "Caught signal " << sig << endl;
cerr << "Waiting for children..." << endl;
+ while (-1 != wait(0))
+ ;
cerr << endl;
if (_task)
show_resume_command(*_task);
cerr << endl;
- while (-1 != wait(0))
- ;
cerr << "Exiting with failure" << endl;
exit(EXIT_FAILURE);
}