From 916895e28107caaf0dbb255a6c28a482101f834a Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 12 Oct 2024 11:58:42 +0300 Subject: [PATCH] install_bin: write error messages to stderr --- install_bin.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_bin.sh b/install_bin.sh index fb33462..c4f1f3e 100755 --- a/install_bin.sh +++ b/install_bin.sh @@ -29,11 +29,11 @@ check_dir() fi [ -n "$out" ] else - echo "$exe is not executable. set proper chmod." + echo >&2 "$exe is not executable. set proper chmod." return 1 fi else - echo "$exe is absent" + echo >&2 "$exe is absent" return 2 fi }