mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-12-21 21:41:31 -06:00
Merge pull request #288 from johnjhacking/patch-1
This commit is contained in:
commit
e11f62a9ef
@ -87,8 +87,8 @@ class ReplicationError(Exception):
|
||||
|
||||
|
||||
def cmd_exists(cmd):
|
||||
return subprocess.call("type " + cmd, shell=True,
|
||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE) == 0
|
||||
return subprocess.Popen("type " + cmd, shell=True,
|
||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
|
||||
|
||||
def replicate_url(full_url,
|
||||
|
Loading…
Reference in New Issue
Block a user