mirror of
https://github.com/tonarino/innernet.git
synced 2024-11-24 08:42:33 +02:00
wgctrl-rs: fix typo in comment
This commit is contained in:
parent
41fd9014c0
commit
99ee399b6e
@ -307,7 +307,8 @@ fn encode_name(name: &str) -> [c_char; 16] {
|
||||
}
|
||||
|
||||
pub fn exists() -> bool {
|
||||
// Try to load the wireguard module is loaded if it was not before.
|
||||
// Try to load the wireguard module if it isn't already.
|
||||
// This is only called once per lifetime of the process.
|
||||
MODPROBE.call_once(|| {
|
||||
Command::new("/sbin/modprobe")
|
||||
.arg("wireguard")
|
||||
|
Loading…
Reference in New Issue
Block a user