From a423506252312b2affff59334d36ad6c5471d013 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 29 Aug 2019 16:16:48 -0600 Subject: 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. --- version/debugging_linux.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'version/debugging_linux.go') 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 } -- cgit v1.2.3-59-g8ed1b