diff --git a/setup/unix-ci.py b/setup/unix-ci.py index 3edc0e146a..3a4d00a7e6 100644 --- a/setup/unix-ci.py +++ b/setup/unix-ci.py @@ -161,7 +161,7 @@ def install_grype() -> str: with tarfile.open(fileobj=io.BytesIO(data), mode='r') as tf: tf.extract('grype', path=dest, filter='fully_trusted') exe = os.path.join(dest, 'grype') - subprocess.run([exe, 'db', 'update']) + subprocess.check_call([exe, 'db', 'update']) return exe