We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d3f559 commit de9082fCopy full SHA for de9082f
1 file changed
bin/xbps-create/main.c
@@ -598,16 +598,14 @@ walk_dir(const char *path,
598
}
599
600
if (S_ISDIR(sb.st_mode)) {
601
- if (walk_dir(tmp_path, fn) < 0) {
602
- rv = -1;
+ rv = walk_dir(tmp_path, fn);
+ if (rv != 0)
603
break;
604
- }
605
606
607
rv = fn(tmp_path, &sb, list[i]);
608
- if (rv != 0) {
609
610
611
612
613
for (int i = n - 1; i >= 0; i--)
0 commit comments