Browse Source

install-progress: Call the real ::fork() in our fork() method

We basically called ourselves before, creating an endless loop.

Reported-By: clang
Julian Andres Klode 7 years ago
parent
commit
d651c4cd71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apt-pkg/install-progress.h

+ 1 - 1
apt-pkg/install-progress.h

@@ -38,7 +38,7 @@ namespace Progress {
     */
     virtual void StartDpkg() {};
 
-    virtual pid_t fork() {return fork(); };
+    virtual pid_t fork() {return ::fork(); };
 
     virtual void Pulse() {};
     virtual long GetPulseInterval() {