NetBSD/usr.sbin/user
wiz 3afef2ec6e Fix warning in userdel -r.
If the 'rm -rf' works, then the home directory does not exist any more,
and rmdir() on it will return an error (ENOENT). Catch and ignore it.

Avoids:

# useradd -m foo
# userdel -r foo
userdel: Unable to remove all files in `/home/foo': No such file or directory
2019-07-29 09:33:21 +00:00
..
defs.h
group.8
groupadd.8
groupdel.8
groupinfo.8
groupmod.8
main.c
Makefile
pathnames.h
user.8
user.c Fix warning in userdel -r. 2019-07-29 09:33:21 +00:00
useradd.8
userdel.8
userinfo.8
usermgmt.conf.5
usermgmt.h
usermod.8