Skip to content

Commit 4239ccf

Browse files
author
Maciej Wójcik
committed
fix typo
1 parent 94baef4 commit 4239ccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wgapi_windows.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ impl WireguardInterfaceApi for WGApi<Kernel> {
257257
"Failed to remove WireGuard tunnel service: {:?}",
258258
command_output.stdout
259259
);
260-
return Err(WireguardInterfaceError::ServiceRemovalFailed { message });
260+
return Err(WireguardInterfaceError::ServiceRemovalFailed(message));
261261
}
262262

263263
info!("Interface {} removed successfully", self.ifname);

0 commit comments

Comments
 (0)