Skip to content

Commit

Permalink
cli: drop which stderr message
Browse files Browse the repository at this point in the history
Don't let `which: no ntt in (...)` overwhelm the terminal.
  • Loading branch information
Xeonacid authored Feb 11, 2025
1 parent 3311787 commit fd498ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function install_cli {

# if 'ntt' is already installed, uninstall it
# just check with 'which'
if which ntt > /dev/null; then
if which ntt > /dev/null 2>&1; then
echo "Removing existing ntt CLI"
rm $(which ntt)
fi
Expand Down

0 comments on commit fd498ce

Please sign in to comment.