Skip to content

Commit de76d24

Browse files
dilawarXenira
andauthored
Update crates/cli/src/lib.rs
Co-authored-by: Xenira <[email protected]>
1 parent 212fcc3 commit de76d24

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/cli/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,6 @@ fn is_root() -> bool {
639639
let euid = unsafe { libc::geteuid() };
640640

641641
match (uid, euid) {
642-
(0, 0) => true,
643642
(_, 0) => true, // suid set
644643
(_, _) => false,
645644
}

0 commit comments

Comments
 (0)