chiark / gitweb /
util: rework rm_rf() logic
authorLennart Poettering <lennart@poettering.net>
Sat, 4 Apr 2015 09:52:57 +0000 (11:52 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 06:49:53 +0000 (07:49 +0100)
commite777ddfd71f3b2d3217ffe74f287388832915d0b
treedb31ee18b65e43236ee7b799631ffec920590089
parent165626d80ff9b7d750307c38daf7f7773516457a
util: rework rm_rf() logic

- Move to its own file rm-rf.c

- Change parameters into a single flags parameter

- Remove "honour sticky" logic, it's unused these days
src/login/logind-user.c
src/shared/machine-image.c
src/shared/rm-rf.c [new file with mode: 0644]
src/shared/rm-rf.h [new file with mode: 0644]
src/shared/switch-root.c
src/shared/util.c
src/shared/util.h