* libmisc/copydir.c (remove_tree): As we always use remove_tree

followed by rmdir to remove the directory itself, delete also the
	root directory in remove_tree.
	* src/userdel.c, src/usermod.c: Do not call rmdir after
	remove_tree.
This commit is contained in:
nekral-guest
2008-05-24 15:35:15 +00:00
parent 9c41a8ad38
commit 6124b59aff
4 changed files with 24 additions and 12 deletions

View File

@@ -1,3 +1,11 @@
2008-05-24 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/copydir.c (remove_tree): As we always use remove_tree
followed by rmdir to remove the directory itself, delete also the
root directory in remove_tree.
* src/userdel.c, src/usermod.c: Do not call rmdir after
remove_tree.
2008-05-24 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/copydir.c (remove_tree): Make sure unlink is successful