Close the iterators on error. In addition, handling when FL_SILENT flag is on/off should be the same, except the error output.
Signed-off-by: Jan Safranek <jsafr...@redhat.com> --- src/tools/cgsnapshot.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/tools/cgsnapshot.c b/src/tools/cgsnapshot.c index a7119e7..a88e877 100644 --- a/src/tools/cgsnapshot.c +++ b/src/tools/cgsnapshot.c @@ -659,7 +659,6 @@ static int parse_mountpoints(cont_name_t cont_names[CG_CONTROLLER_MAX], fprintf(stderr, "E: in get next controller %s\n", cgroup_strerror(ret)); - return ret; } final_ret = ret; } @@ -681,7 +680,6 @@ static int parse_mountpoints(cont_name_t cont_names[CG_CONTROLLER_MAX], fprintf(stderr, "E: in get next controller %s\n", cgroup_strerror(ret)); - return ret; } final_ret = ret; } ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel