Skip to content

Commit

Permalink
small bugfix do not indicate wrong results (#348)
Browse files Browse the repository at this point in the history
* small bugfix do not indicate wrong results

Signed-off-by: Martin Sablotny <[email protected]>

* comment

Signed-off-by: Martin Sablotny <[email protected]>

---------

Signed-off-by: Martin Sablotny <[email protected]>
  • Loading branch information
susperius authored Jan 24, 2025
1 parent 51657ea commit 6cb9ff1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import argparse
import logging
import pathlib
import sys

from model_signing import model
from model_signing.hashing import file
Expand Down Expand Up @@ -168,6 +169,7 @@ def hasher_factory(file_path: pathlib.Path) -> file.FileHasher:
)
except verifying.VerificationError as err:
log.error(f"verification failed: {err}")
sys.exit(-1)

log.info("all checks passed")

Expand Down

0 comments on commit 6cb9ff1

Please sign in to comment.