aboutsummaryrefslogtreecommitdiff
path: root/fetch-macOS.py
diff options
context:
space:
mode:
Diffstat (limited to 'fetch-macOS.py')
-rwxr-xr-xfetch-macOS.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fetch-macOS.py b/fetch-macOS.py
index f4d7e36..c8d9a57 100755
--- a/fetch-macOS.py
+++ b/fetch-macOS.py
@@ -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,