From e7a6aac7c2cfb3662f99e230dc7a0e46bef9d0da Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 25 May 2023 21:03:47 -0500 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/sites.inc b/inc/sites.inc index ce92d450..4922afe0 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -582,8 +582,8 @@ SITEINFO(){ echo -en "\n\033[K${idsCL[LightCyan]}Enter the line number to edit, or (s) to save: ${idsCL[Default]}" read edit - case "$1" in - 4) [ "${hsts}" == "-" ] && hsts="Yes" || hsts='-';; + case "${edit}" in + 4) [ "${hsts}" == "-" ] && hsts='Yes' || hsts='-';; esac echo -e "\033[11A"