Skip to content

Commit d41aa2a

Browse files
committed
Clarify a comment.
1 parent 6ab4e7b commit d41aa2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cap-primitives/src/posish/linux/fs/procfs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ fn check_proc_dir(
183183
));
184184
}
185185
} else {
186-
// Check that the "/proc" directory isn't empty.
186+
// Check that the "/proc" and "/proc/self" directories aren't empty.
187187
if dir_metadata.nlink() <= 2 {
188188
return Err(io::Error::new(
189189
io::ErrorKind::Other,

0 commit comments

Comments
 (0)