Update host_darwin.go

Copy+pasta got me again! 🍝

No new variable on the left of `:=` 😂
This commit is contained in:
Kent 'picat' Gruber 2019-05-31 13:19:04 -04:00
parent d13ba02ef0
commit e507f44421
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ func PlatformInformationWithContext(ctx context.Context) (string, string, string
}
// check if the macos server version file exists
_, err := os.Stat("/System/Library/CoreServices/ServerVersion.plist")
_, err = os.Stat("/System/Library/CoreServices/ServerVersion.plist")
// server file doesn't exist
if os.IsNotExist(err) {