Skip to content

Commit

Permalink
Update dependencies.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
t-aleksander committed Oct 7, 2024
1 parent bf23aff commit ea733b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dependencies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const COMMANDS: [&str; 2] = ["wireguard-go", "networksetup"];
const COMMANDS: [&str; 1] = ["resolvconf"];

pub(crate) fn check_external_dependencies() -> Result<(), WireguardInterfaceError> {
debug!("Checking if all commands required by wireguard-rs are available");
let paths = env::var_os("PATH").ok_or(WireguardInterfaceError::MissingDependency(
"Environment variable `PATH` not found".into(),
))?;
Expand Down

0 comments on commit ea733b7

Please sign in to comment.