_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)
{
signal(SIGHUP,old_SIGHUP);
// tell the progress
- d->progress->Finished();
+ d->progress->Stop();
if(master >= 0)
{