summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-02-12 22:51:03 -0500
committerTavian Barnes <tavianator@tavianator.com>2016-02-14 11:54:35 -0500
commit35bc722cbc22a054cf7843676dcd7667cc364480 (patch)
tree4f29a954dfef4898e2d9ee8e3ed48c26b1613ee1
parent30ce56dc76f3a098c42c7ac9701fc4a223847fa2 (diff)
downloadbfs-35bc722cbc22a054cf7843676dcd7667cc364480.tar.xz
Don't stop early just because deleting failed.
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index d0c8b04..0f850fc 100644
--- a/eval.c
+++ b/eval.c
@@ -206,7 +206,7 @@ bool eval_delete(const struct expr *expr, struct eval_state *state) {
if (unlinkat(ftwbuf->at_fd, ftwbuf->at_path, flag) != 0) {
eval_error(state);
- state->action = BFTW_STOP;
+ return false;
}
return true;