mirror of
https://github.com/KusakabeShi/EtherGuard-VPN.git
synced 2025-08-18 20:58:10 +02:00
wintun: split error message for create vs open namespace.
Signed-off-by: Avery Pennarun <apenwarr@tailscale.com>
This commit is contained in:
committed by
Jason A. Donenfeld
parent
3dce460c88
commit
6aefb61355
@@ -59,9 +59,12 @@ func initializeNamespace() error {
|
||||
if err == windows.ERROR_PATH_NOT_FOUND {
|
||||
continue
|
||||
}
|
||||
if err != nil {
|
||||
return fmt.Errorf("OpenPrivateNamespace failed: %v", err)
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
return fmt.Errorf("Create/OpenPrivateNamespace failed: %v", err)
|
||||
return fmt.Errorf("CreatePrivateNamespace failed: %v", err)
|
||||
}
|
||||
break
|
||||
}
|
||||
|
Reference in New Issue
Block a user