Fix interactive prompt when piped via curl | bash
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
24c27194d4
commit
fa059fd060
1 changed files with 1 additions and 1 deletions
2
setup.sh
2
setup.sh
|
|
@ -6,7 +6,7 @@ INSTALL_DIR="${HOME}/src/chamado-health"
|
|||
CONFIG_FILE="${HOME}/.config/chamado-health"
|
||||
|
||||
if [[ -z "${HEALTHCHECK_URL:-}" ]]; then
|
||||
read -rp "HEALTHCHECK_URL: " HEALTHCHECK_URL
|
||||
read -rp "HEALTHCHECK_URL: " HEALTHCHECK_URL </dev/tty
|
||||
fi
|
||||
|
||||
if [[ -d "${INSTALL_DIR}/.git" ]]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue