about summary refs log tree commit diff
path: root/src/nix/progress-bar.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-08-25T18·52+0200
committerEelco Dolstra <edolstra@gmail.com>2017-08-25T18·52+0200
commit9b845e6936929711fe03d23adc1059acdc84a4fd (patch)
treed92bcc0e3c04579ce3b9e6b2329e5da716ebe862 /src/nix/progress-bar.cc
parent0ac35b67b8035ad1166df3fb199590bc346d71f2 (diff)
Doh
Diffstat (limited to 'src/nix/progress-bar.cc')
-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;
     }