]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Do not try to delete the home of the user if is is not a directory for example
authorbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Jul 2016 08:21:21 +0000 (08:21 +0000)
committerbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Jul 2016 08:21:21 +0000 (08:21 +0000)
commitd4cd16b3a945eb5749d8cca8d4b75ee0dd98de2d
tree34e66ba182dd0b98dcf9206b9023704ba5e9deea
parenta83181be33135d91a65ac0f038634e40064db7c8
Do not try to delete the home of the user if is is not a directory for example
"/dev/null"

PR: 211195
Submitted by: rday <ryan@ryanday.net>
Reported by: eniorm <eniorm@gmail.com>

git-svn-id: svn://svn.freebsd.org/base/stable/10@303257 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/pw/rm_r.c
usr.sbin/pw/tests/pw_userdel.sh