Index: operations.hpp =================================================================== --- operations.hpp (revision 70689) +++ operations.hpp (working copy) @@ -686,7 +686,7 @@ else { m_stack.push(directory_iterator(m_stack.top()->path(), *ec)); - if (*ec) return; + if (*ec) {++m_level; return;} } if (m_stack.top() != directory_iterator()) {