summaryrefslogtreecommitdiffstats
path: root/pw/pwupd.h
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-07-12 21:43:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-07-12 21:43:57 +0000
commita5020ce2c4306656996725b75203311f5ebf8e91 (patch)
treeac7e4a4244619d8a53d0f7b5e6972c823b1194af /pw/pwupd.h
parent82e3411026949c74f9a726bb418b3fdcbc4e9fd0 (diff)
downloadpw-darwin-a5020ce2c4306656996725b75203311f5ebf8e91.tar.gz
pw-darwin-a5020ce2c4306656996725b75203311f5ebf8e91.tar.zst
pw-darwin-a5020ce2c4306656996725b75203311f5ebf8e91.zip
pw -R <rootdir> userdel can now cleanup installation
Rewrite rm_r to use *at function, allowing to remove home directories along with users. only crontabs and at(1) installation are not removed Relnotes: yes
Diffstat (limited to 'pw/pwupd.h')
-rw-r--r--pw/pwupd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pwupd.h b/pw/pwupd.h
index f08d2c7..054c5a5 100644
--- a/pw/pwupd.h
+++ b/pw/pwupd.h
@@ -159,7 +159,7 @@ void vendgrent(void);
void copymkdir(int rootfd, char const * dir, int skelfd, mode_t mode, uid_t uid,
gid_t gid, int flags);
-void rm_r(char const * dir, uid_t uid);
+void rm_r(int rootfd, char const * dir, uid_t uid);
__END_DECLS
#endif /* !_PWUPD_H */