Skip to content

Commit bccc0e4

Browse files
vermaetemegastep
authored andcommitted
Changed output from stderr to stdout if the checksum is ok.
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>
1 parent 3abcd7a commit bccc0e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

makeself-header.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ MS_Check()
267267
echo "Error in SHA256 checksums: \$shasum is different from \$sha" >&2
268268
exit 2
269269
elif test x"\$quiet" = xn; then
270-
MS_Printf " SHA256 checksums are OK." >&2
270+
MS_Printf " SHA256 checksums are OK."
271271
fi
272272
crc="0000000000";
273273
fi
@@ -285,7 +285,7 @@ MS_Check()
285285
echo "Error in MD5 checksums: \$md5sum is different from \$md5" >&2
286286
exit 2
287287
elif test x"\$quiet" = xn; then
288-
MS_Printf " MD5 checksums are OK." >&2
288+
MS_Printf " MD5 checksums are OK."
289289
fi
290290
crc="0000000000"; verb=n
291291
fi
@@ -298,7 +298,7 @@ MS_Check()
298298
echo "Error in checksums: \$sum1 is different from \$crc" >&2
299299
exit 2
300300
elif test x"\$quiet" = xn; then
301-
MS_Printf " CRC checksums are OK." >&2
301+
MS_Printf " CRC checksums are OK."
302302
fi
303303
fi
304304
i=\`expr \$i + 1\`

0 commit comments

Comments
 (0)