We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79ffc62 commit 2d99424Copy full SHA for 2d99424
1 file changed
public/install.sh
@@ -407,6 +407,20 @@ main() {
407
START_NOW=true
408
COMPOSE_CMD="docker compose"
409
OS_TYPE=""
410
+
411
+ # Check if we have a terminal for interactive input
412
+ # This is needed when running via: curl ... | bash
413
+ if [[ ! -t 0 ]]; then
414
+ if [[ -e /dev/tty ]]; then
415
+ exec < /dev/tty
416
+ else
417
+ echo -e "${RED}[✗]${NC} No terminal available for interactive input."
418
+ echo " Please download and run the script manually:"
419
+ echo " curl -fsSL https://clawhalla.xyz/install.sh -o install.sh"
420
+ echo " bash install.sh"
421
+ exit 1
422
+ fi
423
424
425
# Run installer
426
show_banner
0 commit comments