diff --git a/install_mailhog_as_service.sh b/install_mailhog_as_service.sh index f2a3eff..da0f2ac 100644 --- a/install_mailhog_as_service.sh +++ b/install_mailhog_as_service.sh @@ -11,6 +11,9 @@ else echo 'ERROR: Installing golang-go NOT succesfull!' exit fi +# Force the go command to fetch & use the 1.24 toolchain +go env -w GOTOOLCHAIN=go1.24.3 +go version # should show: go1.22.0 ... +toolchain go1.24.3 (after it downloads) echo ""; echo "==================================="; echo "Installing mailhog...";