Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Commit a229ac1

Browse files
Sven DowideitSven Dowideit
authored andcommitted
Merge pull request #200 from SvenDowideit/stop-before-download
Sorry, windows won't let you move that file aside while vbox is using it
2 parents 429947b + 426c4aa commit a229ac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmds.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ func cmdPoweroff() int {
354354
func cmdUpgrade() int {
355355
m, err := vbx.GetMachine(B2D.VM)
356356
if err == nil && m.State == vbx.Running {
357-
if cmdDownload() == 0 && cmdStop() == 0 {
357+
if cmdStop() == 0 && cmdDownload() == 0 {
358358
return cmdUp()
359359
} else {
360360
return 0

0 commit comments

Comments
 (0)