aboutsummaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-22 17:14:40 +0000
committerOmar Polo <op@omarpolo.com>2021-01-22 17:14:40 +0000
commit99f95f7762f61a020ab049ed24c9c9102e2c3250 (patch)
tree50593f9d59cd555d0a2022ab5bbfc70e225f93da /regress
parent7e262563948fcaeea143e6c7c23b6a300010eec5 (diff)
fix for sha256sum
Diffstat (limited to 'regress')
-rwxr-xr-xregress/sha3
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"