diff options
Diffstat (limited to 'test/get_previous_releases.py')
-rwxr-xr-x | test/get_previous_releases.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/get_previous_releases.py b/test/get_previous_releases.py index e91c20da77..a997f9fcf2 100755 --- a/test/get_previous_releases.py +++ b/test/get_previous_releases.py @@ -148,7 +148,8 @@ def download_binary(tag, args) -> int: ret = subprocess.run(['tar', '-zxf', tarball, '-C', tag, '--strip-components=1', 'bitcoin-{tag}'.format(tag=tag[1:])]).returncode - if ret: + if ret != 0: + print(f"Failed to extract the {tag} tarball") return ret Path(tarball).unlink() |