From 49f92e1cf4063eb7e06b048855a2c90f4d8b802d Mon Sep 17 00:00:00 2001 From: Fraser McGlinn <8907687+fmcglinn@users.noreply.github.com> Date: Wed, 31 Dec 2025 21:46:24 +1300 Subject: [PATCH] fix(swizzin): Use HTTPS and add curl error handling (#10440) - Add https:// to s5n.sh URL to ensure secure connection - Add -f flag to fail on HTTP errors instead of piping error pages to bash - Add -S flag to show errors even in silent mode Without -f, if the server returns an error page (4xx/5xx), curl would pipe that HTML content to bash, causing unexpected behavior. --- install/swizzin-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/swizzin-install.sh b/install/swizzin-install.sh index 9a540d002..e53dba39c 100644 --- a/install/swizzin-install.sh +++ b/install/swizzin-install.sh @@ -23,7 +23,7 @@ if [[ ! "$CONFIRM" =~ ^([yY][eE][sS]|[yY])$ ]]; then msg_error "Aborted by user. No changes have been made." exit 10 fi -bash <(curl -sL s5n.sh) +bash <(curl -fsSL https://s5n.sh) motd_ssh customize