Skip to content

Commit 3c02815

Browse files
committed
fix: redirect stdin from /dev/tty for interactive setup
1 parent 814f4db commit 3c02815

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

download-and-install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ if [ -f "$DEPLOY_SCRIPT" ]; then
105105
echo ""
106106
# Switch to directory before execution to ensure relative paths work
107107
cd "$INSTALL_DIR"
108-
exec ./setup-services.sh
108+
# Ensure stdin is attached to terminal for interactive input
109+
exec ./setup-services.sh < /dev/tty
109110
else
110111
echo -e "${RED}Critical Error: setup-services.sh not found in downloaded repository!${NC}"
111112
exit 1

0 commit comments

Comments
 (0)