summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/deb/dpkgpm.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 6984c64c1..8162405c7 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -610,6 +610,7 @@ bool pkgDPkgPM::OpenLog()
fprintf(history_out, "Remove: %s\n", remove.c_str());
if (purge.size() > 0)
fprintf(history_out, "Purge: %s\n", purge.c_str());
+ fflush(history_out);
}
return true;