Skip to content

Commit 5e0b7a5

Browse files
committed
Fix incorrect redirection
It seems the intention was to output to stderr, so this commit adjusts it accordingly. Signed-off-by: moznion <[email protected]>
1 parent 1ba4216 commit 5e0b7a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install_ruby.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ case $RUBY_VERSION in
3939
*)
4040
read RUBY_DOWNLOAD_URI RUBY_DOWNLOAD_SHA256 < <(get_released_ruby $RUBY_VERSION)
4141
if test -z "$RUBY_DOWNLOAD_URI"; then
42-
echo "Unsupported RUBY_VERSION ($RUBY_VERSION)" >2
42+
echo "Unsupported RUBY_VERSION ($RUBY_VERSION)" >&2
4343
exit 1
4444
fi
4545
echo $RUBY_DOWNLOAD_URI

0 commit comments

Comments
 (0)