]> git.ipfire.org Git - thirdparty/systemd.git/commit
rm-rf: Fix assertion 28020/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 13 Jun 2023 14:01:17 +0000 (16:01 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 13 Jun 2023 14:13:49 +0000 (16:13 +0200)
commita6ae99363d9011bf08bbd7758c5394a5523be7a0
tree3e601771d42c22fcd18031617d7b16c095453453
parent549a9a671ad3c5e36717275d6656a96ca82d934e
rm-rf: Fix assertion

This doesn't cover every case but cases where people try to do
rm_rf(dir_fd, ".") are covered by unlinkat() simply failing.
src/shared/rm-rf.c