You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warn "Headless setup failed. Falling back to interactive setup..."
1463
-
if has_interactive_tty;then
1464
-
if! bun "${setup_script}";then
1465
-
error "Setup script failed."
1466
-
fi
1467
-
elif [[ -r /dev/tty ]];then
1463
+
if [[ -r /dev/tty &&-w /dev/tty ]];then
1468
1464
if! bun "${setup_script}"</dev/tty;then
1469
1465
error "Setup script failed (interactive retry via /dev/tty)."
1470
1466
fi
1467
+
elif has_interactive_tty;then
1468
+
if! bun "${setup_script}";then
1469
+
error "Setup script failed."
1470
+
fi
1471
1471
else
1472
1472
error "Headless setup failed in a non-interactive session; interactive fallback is unavailable. Rerun in an interactive terminal or export OCS_SKIP_AUTO_SETUP=1 and run setup manually later."
0 commit comments