View | Details | Raw Unified | Return to bug 211195
Collapse All | Expand All

(-)b/usr.sbin/pw/rm_r.c (+3 lines)
Lines 50-55 rm_r(int rootfd, const char *path, uid_t uid) Link Here
50
		path++;
50
		path++;
51
51
52
	dirfd = openat(rootfd, path, O_DIRECTORY);
52
	dirfd = openat(rootfd, path, O_DIRECTORY);
53
	if (dirfd<0) {
54
		return;
55
	}
53
56
54
	d = fdopendir(dirfd);
57
	d = fdopendir(dirfd);
55
	while ((e = readdir(d)) != NULL) {
58
	while ((e = readdir(d)) != NULL) {

Return to bug 211195