diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-22 17:14:40 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-22 17:14:40 +0000 |
commit | 99f95f7762f61a020ab049ed24c9c9102e2c3250 (patch) | |
tree | 50593f9d59cd555d0a2022ab5bbfc70e225f93da /regress | |
parent | 7e262563948fcaeea143e6c7c23b6a300010eec5 (diff) |
fix for sha256sum
Diffstat (limited to 'regress')
-rwxr-xr-x | regress/sha | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/sha b/regress/sha index 12cf582..02b8eb2 100755 --- a/regress/sha +++ b/regress/sha @@ -8,7 +8,8 @@ if which sha256 2>/dev/null >/dev/null; then fi if which sha256sum 2>/dev/null >/dev/null; then - exec sha256sum "$1" | awk '{print $1}' > "$2" + sha256sum "$1" | awk '{print $1}' > "$2" + exit $? fi echo "No sha binary found" |