From ae49e7fa0232391009ec51821bf810923407965c Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Tue, 3 Dec 2024 19:51:16 +0100 Subject: [PATCH] fix tencent --- linPEAS/builder/linpeas_parts/functions/check_tencent_cvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linPEAS/builder/linpeas_parts/functions/check_tencent_cvm.sh b/linPEAS/builder/linpeas_parts/functions/check_tencent_cvm.sh index 735385626..0b78b4f82 100644 --- a/linPEAS/builder/linpeas_parts/functions/check_tencent_cvm.sh +++ b/linPEAS/builder/linpeas_parts/functions/check_tencent_cvm.sh @@ -16,7 +16,7 @@ check_tencent_cvm () { is_tencent_cvm="No" - if [ -f "/etc/cloud/cloud.cfg.d/05_logging.cfg" ] || grep -qi Tencent /etc/cloud/cloud.cfg; then + if grep -qi Tencent /etc/cloud/cloud.cfg; then is_tencent_cvm="Yes" fi } \ No newline at end of file