diff options
author | Michael Vogt <mvo@debian.org> | 2013-10-14 07:52:21 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-10-14 07:52:21 +0200 |
commit | a22fdebf63a42026e4350ebd069512c797bc2a5b (patch) | |
tree | dcffe6ff5850eb1e22fb392d012e8f2acbad027a /apt-pkg/deb/dpkgpm.cc | |
parent | f9935b1c33203b9e47ca0ff5cb441c7963b19fbc (diff) |
rename APT::Progress::Packagemanager Started->Start, Finished->Stop to match pkgAcquireStatus
Diffstat (limited to 'apt-pkg/deb/dpkgpm.cc')
-rw-r--r-- | apt-pkg/deb/dpkgpm.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index d617a3c0c..36d8c829a 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -1264,11 +1264,9 @@ bool pkgDPkgPM::Go(APT::Progress::PackageManager *progress) _error->DumpErrors(std::cerr); _error->RevertToStack(); - // Fork dpkg - pid_t Child; - d->progress->Started(); - - Child = ExecFork(); + // Tell the progress that its starting and fork dpkg + d->progress->Start(); + pid_t Child = ExecFork(); // This is the child if (Child == 0) { @@ -1398,7 +1396,7 @@ bool pkgDPkgPM::Go(APT::Progress::PackageManager *progress) signal(SIGHUP,old_SIGHUP); // tell the progress - d->progress->Finished(); + d->progress->Stop(); if(master >= 0) { |