diff --git a/cyberpanel.sh b/cyberpanel.sh index 54fd8aba4..5c19974fe 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -2839,7 +2839,10 @@ main() { print_status "SUCCESS: Installation completed successfully!" else - # Run interactive mode + # Run interactive mode - ensure stdin is the terminal for prompts (e.g. when script was piped from curl) + if [ ! -t 0 ]; then + exec 0