Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

FIX #2626 Retrieve windows version on non-english OS #2627

Merged

Conversation

dgageot
Copy link
Member

@dgageot dgageot commented Dec 18, 2015

Signed-off-by: David Gageot david@gageot.net

Signed-off-by: David Gageot <david@gageot.net>
@@ -6,7 +6,7 @@ import (
)

func LocalOSVersion() string {
command := exec.Command(`systeminfo`)
command := exec.Command(`ver`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any particular reason for the backticks instead of "? Seems a bit odd, probably fine though.

@nathanleclaire
Copy link
Contributor

LGTM

nathanleclaire added a commit that referenced this pull request Dec 19, 2015
FIX #2626 Retrieve windows version on non-english OS
@nathanleclaire nathanleclaire merged commit ecfe9a1 into docker:master Dec 19, 2015
@nathanleclaire
Copy link
Contributor

Argh. It's probably not immediately problematic but, FYI I have systeminfo in my git bash shell but not ver (granted, it's an English version of Windows). Since msysgit is our recommended way to use Machine on Windows, why not try both?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants