Use correct program name for windows

This commit is contained in:
Ray Britton
2020-08-19 20:55:07 +01:00
parent ce9cbe723d
commit ef9c406138
+1 -1
View File
@@ -64,7 +64,7 @@ impl WifiInterface for Windows {
/// Turn off the wireless network adapter. /// Turn off the wireless network adapter.
fn turn_off() -> Result<(), WifiError> { fn turn_off() -> Result<(), WifiError> {
let _output = Command::new("nmcli") let _output = Command::new("netsh")
.args(&[ .args(&[
"interface", "interface",
"set", "set",