diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-29 16:16:48 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-30 08:47:21 -0600 |
commit | b70b012bc692477fdf51b09627c6a7333265ee31 (patch) | |
tree | 18badadf8bdf1b77b93932b947a352e5591ddf2b /version/debugging_linux.go | |
parent | version: use ProductName and ProductVersion as strings (diff) | |
download | wireguard-windows-b70b012bc692477fdf51b09627c6a7333265ee31.tar.xz wireguard-windows-b70b012bc692477fdf51b09627c6a7333265ee31.zip |
version: hard code name and version at compile time
We really do want the true name and version in logs so that external
consumers have a good reference point for helping us debug.
We can then do the log file directory explicitly.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'version/debugging_linux.go')
-rw-r--r-- | version/debugging_linux.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/version/debugging_linux.go b/version/debugging_linux.go index 7c9c09c5..ddea4242 100644 --- a/version/debugging_linux.go +++ b/version/debugging_linux.go @@ -30,10 +30,6 @@ func OsName() string { return fmt.Sprintf("%s %s %s", utsToStr(utsname.Sysname), utsToStr(utsname.Release), utsToStr(utsname.Version)) } -func RunningNameVersion() (string, string) { - return "WireGuard", "0.0.0.0" -} - func VerifyAuthenticode(path string) bool { return true } |