From 5e0b7a51c782010300c8e4cba2aa3c9dcb859673 Mon Sep 17 00:00:00 2001 From: moznion Date: Tue, 25 Nov 2025 20:36:39 +0900 Subject: [PATCH] Fix incorrect redirection It seems the intention was to output to stderr, so this commit adjusts it accordingly. Signed-off-by: moznion --- install_ruby.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_ruby.sh b/install_ruby.sh index bf99a902..fd643d4b 100755 --- a/install_ruby.sh +++ b/install_ruby.sh @@ -39,7 +39,7 @@ case $RUBY_VERSION in *) read RUBY_DOWNLOAD_URI RUBY_DOWNLOAD_SHA256 < <(get_released_ruby $RUBY_VERSION) if test -z "$RUBY_DOWNLOAD_URI"; then - echo "Unsupported RUBY_VERSION ($RUBY_VERSION)" >2 + echo "Unsupported RUBY_VERSION ($RUBY_VERSION)" >&2 exit 1 fi echo $RUBY_DOWNLOAD_URI