diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-03-10 13:15:52 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-03-14 11:47:19 +0100 |
commit | 6a1de8b79299ca1152106361aa6b41730635c5cc (patch) | |
tree | 9f3781694d1a38a4c04660b62899f37f5b03518a /cmdline/apt-get.cc | |
parent | 915f4ac6d9ae239bd1aef47892075d019ec8b581 (diff) |
streamline dpkgpm cleanup-handling
The (unlikely) waitpid failure case should fallthrough the code just
like the other failures (and successes) instead of taking a shortcut
avoiding all the cleanup (progress) and finishing touches (log, state).
This also delays the cleanup of the progress until apt is really done
with everything and "just" has the post-invokes left to do, so the
period of 'apt looks finished as it stopped the progress' and 'apt
really finished as I have the shell-prompt back' is shorter even if
there is no progress reported anymore, so the bar lingers at 100%…
Ideally even the post-invokes would be covered by progress, but they
can have their own output and dealing with that could be hard.
Git-Dch: Ignore
Diffstat (limited to 'cmdline/apt-get.cc')
0 files changed, 0 insertions, 0 deletions