]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/dpkgpm.cc
flush line-clearing on progress stop before post-invoke
[apt.git] / apt-pkg / deb / dpkgpm.cc
index 90e33bff4213f512da828b59e9bc8eeb12f74383..03b096ad6cb34bb606a8d39aad33568d19b77bd1 100644 (file)
@@ -49,6 +49,7 @@
 #include <utility>
 #include <vector>
 #include <sstream>
+#include <numeric>
 
 #include <apti18n.h>
                                                                        /*}}}*/
@@ -1587,7 +1588,7 @@ bool pkgDPkgPM::Go(APT::Progress::PackageManager *progress)
       // Check for an error code.
       if (WIFEXITED(Status) == 0 || WEXITSTATUS(Status) != 0)
       {
-        // if it was set to "keep-dpkg-runing" then we won't return
+        // if it was set to "keep-dpkg-running" then we won't return
         // here but keep the loop going and just report it as a error
         // for later
         bool const stopOnError = _config->FindB("Dpkg::StopOnError",true);