diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-02-12 22:51:03 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-02-14 11:54:35 -0500 |
commit | 35bc722cbc22a054cf7843676dcd7667cc364480 (patch) | |
tree | 4f29a954dfef4898e2d9ee8e3ed48c26b1613ee1 /eval.c | |
parent | 30ce56dc76f3a098c42c7ac9701fc4a223847fa2 (diff) | |
download | bfs-35bc722cbc22a054cf7843676dcd7667cc364480.tar.xz |
Don't stop early just because deleting failed.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |