diff options
-rw-r--r-- | bbot/agent/agent.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bbot/agent/agent.cxx b/bbot/agent/agent.cxx index 6d5f034..23759e8 100644 --- a/bbot/agent/agent.cxx +++ b/bbot/agent/agent.cxx @@ -334,7 +334,8 @@ try // The first level are machine volumes. // - for (const dir_entry& ve: dir_iterator (machines)) + for (const dir_entry& ve: dir_iterator (machines, + false /* ignore_dangling */)) { const string vn (ve.path ().string ()); @@ -349,7 +350,8 @@ try // try { - for (const dir_entry& me: dir_iterator (vd)) + for (const dir_entry& me: dir_iterator (vd, + false /* ignore_dangling */)) { const string mn (me.path ().string ()); @@ -583,7 +585,7 @@ try } catch (const system_error& e) { - fail << "unable to iterate over " << vd << ": " << e << endf; + fail << "unable to iterate over " << vd << ": " << e; } } |