From 2f9cdd0aaca52d11d7402b18b139e014e6bdfd30 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 11 Feb 2020 00:01:58 -0800 Subject: [PATCH] wgengine: fix error string. Signed-off-by: David Anderson --- wgengine/userspace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgengine/userspace.go b/wgengine/userspace.go index 2593bab3d..45437b44f 100644 --- a/wgengine/userspace.go +++ b/wgengine/userspace.go @@ -62,7 +62,7 @@ func NewUserspaceEngine(logf logger.Logf, tunname string, listenPort uint16, der logf("external packet routing via --tun=%s enabled", tunname) if tunname == "" { - return nil, fmt.Errorf("--tun name must not be blank.") + return nil, fmt.Errorf("--tun name must not be blank") } tuntap, err := tun.CreateTUN(tunname, device.DefaultMTU)