get_paths (tmp_paths, dir, just_remove_files, true);
for (vector<string>::const_iterator i = tmp_paths.begin();
get_paths (tmp_paths, dir, just_remove_files, true);
for (vector<string>::const_iterator i = tmp_paths.begin();
- if (::g_remove (i->c_str())) {
- error << string_compose (_("cannot remove path %1 (%2)"), *i, strerror (errno))
- << endmsg;
- ret = 1;
- }
+ if (::g_remove (i->c_str())) {
+ error << string_compose (_("cannot remove path %1 (%2)"), *i, strerror (errno))
+ << endmsg;
+ ret = 1;
+ continue;
+ }