diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/remove.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/remove.c b/src/remove.c index c4822ea15..2217c5fd2 100644 --- a/src/remove.c +++ b/src/remove.c @@ -1101,8 +1101,9 @@ rm (size_t n_files, char const *const *file, struct rm_options const *x) { enum RM_status s; cycle_check_init (&ds->cycle_check_state); - /* Arrange to fail, give up on this FILE, but continue on with - any other arguments, in case rm_1 detects a directory cycle. */ + /* In the event that rm_1->remove_dir->remove_cwd_entries detects + a directory cycle, arrange to fail, give up on this FILE, but + continue on with any other arguments. */ if (setjmp (ds->current_arg_jumpbuf)) s = RM_ERROR; else |