cargo fmt
This commit is contained in:
@@ -8,4 +8,4 @@ pub use windows::is_app_elevated;
|
||||
mod unix;
|
||||
|
||||
#[cfg(any(target_os = "linux", target_os = "macos"))]
|
||||
pub use unix::is_app_elevated;
|
||||
pub use unix::is_app_elevated;
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
pub fn is_app_elevated() -> bool {
|
||||
sudo::RunningAs::Root == sudo::check()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user