Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
thesebas committed Dec 16, 2024
1 parent ad98d99 commit 7f77a1d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
use log::trace;
use std::env;

#[cfg(any(target_os = "freebsd", target_os = "linux", target_os = "openbsd", target_os = "android"))]
#[cfg(any(
target_os = "freebsd",
target_os = "linux",
target_os = "openbsd",
target_os = "android"
))]
fn get_shell_ffi() -> Option<String> {
use libc::{geteuid, getpwuid_r};
use std::{ffi::CStr, mem, ptr};
Expand Down

0 comments on commit 7f77a1d

Please # to comment.