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