... | ... |
@@ -688,6 +688,7 @@ static int cli_ftw_dir(const char *dirname, int flags, int maxdepth, cli_ftw_cb |
688 | 688 |
ret = callback(NULL, NULL, dirname, error_mem, data); |
689 | 689 |
if (ret != CL_SUCCESS) |
690 | 690 |
break; |
691 |
+ continue; /* have to skip this one if continuing after error */ |
|
691 | 692 |
} |
692 | 693 |
if(!strcmp(dirname, PATHSEP)) |
693 | 694 |
sprintf(fname, PATHSEP"%s", dent->d_name); |