Skip to content

Commit

Permalink
Fix linux compilation error
Browse files Browse the repository at this point in the history
Signed-off-by: Yilun <zyl.skysniper@gmail.com>
  • Loading branch information
yilunzhang committed Mar 15, 2022
1 parent ab8fc25 commit 628533f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tun_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func OpenTunDevice(name, addr, gw, mask string, dnsServers []string, persist boo
if len(out) > 0 {
log.Print(string(out))
}
return nil, util.ParseExecError(err)
return nil, errors.New(util.ParseExecError(err))
}
}

Expand Down

0 comments on commit 628533f

Please sign in to comment.