We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a726c71 commit 670ebd9Copy full SHA for 670ebd9
3 files changed
src/bftw.c
@@ -1791,7 +1791,7 @@ static int bftw_impl(struct bftw_state *state) {
1791
break;
1792
}
1793
if (bftw_visit(state, NULL) != 0) {
1794
- break;
+ return -1;
1795
1796
1797
tests/bsd/s_quit.out
@@ -0,0 +1 @@
1
+basic/j/foo
tests/bsd/s_quit.sh
@@ -0,0 +1,4 @@
+# Regression test: bfs -S ids -s -name foo -quit would not actually quit,
2
+# ending up in a confused state and erroring/crashing
3
+
4
+bfs_diff -s basic -name foo -print -quit
0 commit comments