From 0175a004580097355c321816681b96badbbf5d1a Mon Sep 17 00:00:00 2001 From: ReachableCEO Date: Wed, 2 Jul 2025 18:25:31 -0500 Subject: [PATCH] got to handle the other condition... --- ProjectCode/Modules/Security/secharden-ssh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectCode/Modules/Security/secharden-ssh.sh b/ProjectCode/Modules/Security/secharden-ssh.sh index 744671a..e87f128 100644 --- a/ProjectCode/Modules/Security/secharden-ssh.sh +++ b/ProjectCode/Modules/Security/secharden-ssh.sh @@ -24,7 +24,7 @@ export SUBODEV_SSH_DIR SUBODEV_SSH_DIR="/home/subodev/.ssh" export NOT_UBUNTU_CHECK -NOT_UBUNTU_CHECK="$(distro | grep -c -v Ubuntu)" +NOT_UBUNTU_CHECK="$(distro | grep -c -v Ubuntu || true)" if [ ! -d $ROOT_SSH_DIR ]; then mkdir /root/.ssh/