From 8bf03a6cb6d520094d6d659256291c9e934295fe Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 27 Mar 2023 21:16:23 -0400 Subject: [PATCH] Update build.func update ssh_check code --- misc/build.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/build.func b/misc/build.func index df2de2d2..a6e7e0e3 100644 --- a/misc/build.func +++ b/misc/build.func @@ -67,7 +67,7 @@ arch_check() { ssh_check() { if command -v pveversion >/dev/null 2>&1; then - if [ -n "$SSH_CLIENT" ]; then + if [ -n "${SSH_CLIENT:+x}" ]; then if whiptail --defaultno --title "SSH DETECTED" --yesno "It's suggested to use the Proxmox shell instead of SSH, since SSH can create issues while gathering variables. Would you like to proceed with using SSH?" 10 62; then echo "you've been warned" else