From 99ee399b6e3da0cc162e7900d534688cf54b5e5c Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Thu, 8 Apr 2021 11:09:43 +0900 Subject: [PATCH] wgctrl-rs: fix typo in comment --- wgctrl-rs/src/backends/kernel.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wgctrl-rs/src/backends/kernel.rs b/wgctrl-rs/src/backends/kernel.rs index 02c3b15..38a1d35 100644 --- a/wgctrl-rs/src/backends/kernel.rs +++ b/wgctrl-rs/src/backends/kernel.rs @@ -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")