mirror of
https://git.zx2c4.com/wireguard-go
synced 2025-09-18 20:57:50 +02: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 {
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user