This commit is contained in:
Mitchell Hashimoto 2013-07-25 20:49:39 -05:00
parent 1d0adbf2c2
commit ce5849308b
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ func (d *VBox42Driver) IsRunning(name string) (bool, error) {
for _, line := range strings.Split(stdout.String(), "\n") { for _, line := range strings.Split(stdout.String(), "\n") {
// Need to trim off CR character when running in windows // Need to trim off CR character when running in windows
line = strings.TrimRight(line, "\r"); line = strings.TrimRight(line, "\r")
if line == `VMState="running"` { if line == `VMState="running"` {
return true, nil return true, nil