Commit Diff


commit - 7e262563948fcaeea143e6c7c23b6a300010eec5
commit + 99f95f7762f61a020ab049ed24c9c9102e2c3250
blob - 12cf5823bc33d1fcb95058db0bf884dae1483dbd
blob + 02b8eb211eb3c2d1e7d2f072d17e8b98173bacf1
--- regress/sha
+++ 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"