Update host_darwin.go

Copy+pasta got me again! 🍝

No new variable on the left of `:=` 😂
pull/698/head
Kent 'picat' Gruber 6 years ago
parent d13ba02ef0
commit e507f44421

@ -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) {

Loading…
Cancel
Save