Skip to content

Commit

Permalink
Changed output from stderr to stdout if the checksum is ok.
Browse files Browse the repository at this point in the history
If something if fine, it should not (IMHO) be on stderr.
This could cause false alarms to users where makeself is embedded into another installer.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
  • Loading branch information
vermaete committed Aug 21, 2024
1 parent affe5e3 commit 99fd30c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions makeself-header.sh
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ MS_Check()
echo "Error in SHA256 checksums: \$shasum is different from \$sha" >&2
exit 2
elif test x"\$quiet" = xn; then
MS_Printf " SHA256 checksums are OK." >&2
MS_Printf " SHA256 checksums are OK."
fi
crc="0000000000";
fi
Expand All @@ -285,7 +285,7 @@ MS_Check()
echo "Error in MD5 checksums: \$md5sum is different from \$md5" >&2
exit 2
elif test x"\$quiet" = xn; then
MS_Printf " MD5 checksums are OK." >&2
MS_Printf " MD5 checksums are OK."
fi
crc="0000000000"; verb=n
fi
Expand All @@ -298,7 +298,7 @@ MS_Check()
echo "Error in checksums: \$sum1 is different from \$crc" >&2
exit 2
elif test x"\$quiet" = xn; then
MS_Printf " CRC checksums are OK." >&2
MS_Printf " CRC checksums are OK."
fi
fi
i=\`expr \$i + 1\`
Expand Down

0 comments on commit 99fd30c

Please sign in to comment.