diff --git a/misc/build.func b/misc/build.func index 55c935a5..e13d77da 100644 --- a/misc/build.func +++ b/misc/build.func @@ -363,13 +363,15 @@ advanced_settings() { exit-script fi - if [[ "$PW" == "-password *" ]]; then + if [[ "$PW" == -password* ]]; then if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then SSH="yes" else SSH="no" fi echo -e "${DGN}Enable Root SSH Access: ${BGN}$SSH${CL}" + else + echo -e "${DGN}Enable Root SSH Access: ${BGN}no${CL}" fi if [[ "$APP" == "Docker" || "$APP" == "Umbrel" || "$APP" == "CasaOS" || "$APP" == "Home Assistant" ]]; then