diff --git a/.github/workflows/update-vendored-nix-dependencies.py b/.github/workflows/update-vendored-nix-dependencies.py index 201b6500ca..34d81b20bf 100755 --- a/.github/workflows/update-vendored-nix-dependencies.py +++ b/.github/workflows/update-vendored-nix-dependencies.py @@ -55,7 +55,8 @@ def create_pr( def update_dependencies(): with NamedTemporaryFile() as log: subprocess.run( - ["nvfetcher", "--build-dir", "nix/_sources", "--changelog", log.name] + ["nvfetcher", "--build-dir", "nix/_sources", "--changelog", log.name], + check=True, ) return Path(log.name).read_text() diff --git a/unblob/extractors/command.py b/unblob/extractors/command.py index 682d0af10d..21647ded83 100644 --- a/unblob/extractors/command.py +++ b/unblob/extractors/command.py @@ -54,6 +54,7 @@ def no_op(): stdout=stdout_file, stderr=subprocess.PIPE, timeout=COMMAND_TIMEOUT, + check=False, ) if res.returncode != 0: error_report = ExtractCommandFailedReport(