Skip to content

Commit

Permalink
Redirect deprecation messages to stderr. (opensearch-project#3454)
Browse files Browse the repository at this point in the history
* Redirect deprecation messages to stderr to differentiate between the
two streams to make debugging and troubleshooting more efficient.

Signed-off-by: David Osorno <[email protected]>
  • Loading branch information
davidosorno authored Oct 5, 2023
1 parent 93f79f8 commit 8752074
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/hash.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

echo "**************************************************************************"
echo "** This tool will be deprecated in the next major release of OpenSearch **"
echo "** https://github.com/opensearch-project/security/issues/1755 **"
echo "**************************************************************************"
echo "**************************************************************************" >&2
echo "** This tool will be deprecated in the next major release of OpenSearch **" >&2
echo "** https://github.com/opensearch-project/security/issues/1755 **" >&2
echo "**************************************************************************" >&2

SCRIPT_PATH="${BASH_SOURCE[0]}"
if ! [ -x "$(command -v realpath)" ]; then
Expand Down

0 comments on commit 8752074

Please sign in to comment.