Parallels / docker-machine-parallels

Parallels driver for Docker Machine https://github.com/docker/machine
MIT License
471 stars 35 forks source link

Fix handling the error "prlctl not found" #49

Closed legal90 closed 8 years ago

legal90 commented 8 years ago

This PR fixes an issue when driver tries to execute prlctl commands even if Parallels Desktop is not installed at all. There was a bug (or typo? :) ) in exec.ErrNotFound comparison.

I've also refactored some code: fixed style offenses and removed duplications from prlctl.go

cc: @racktear

legal90 commented 8 years ago

Acceptance tests pass OK.