about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/nix/progress-bar.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/progress-bar.cc b/src/nix/progress-bar.cc
index 90e54ed48a21..f638c7cfb198 100644
--- a/src/nix/progress-bar.cc
+++ b/src/nix/progress-bar.cc
@@ -166,6 +166,7 @@ public:
             auto i = state.its.find(act);
             if (i == state.its.end()) break;
             if (i->second->type == type) return true;
+            act = i->second->parent;
         }
         return false;
     }