install_bin: write error messages to stderr

This commit is contained in:
bol-van 2024-10-12 11:58:42 +03:00
parent 7ff4214b5b
commit 916895e281

View File

@ -29,11 +29,11 @@ check_dir()
fi fi
[ -n "$out" ] [ -n "$out" ]
else else
echo "$exe is not executable. set proper chmod." echo >&2 "$exe is not executable. set proper chmod."
return 1 return 1
fi fi
else else
echo "$exe is absent" echo >&2 "$exe is absent"
return 2 return 2
fi fi
} }