From 375771abef36f136198f7324658adb8bb519f19e Mon Sep 17 00:00:00 2001 From: "flamingo[bot]" <277372822+flamingo[bot]@users.noreply.github.com> Date: Mon, 7 Sep 2026 05:14:49 +0000 Subject: [PATCH] fix(MESHCENT-003): meshinstall-initd.sh PID file removal uses malformed quoting, likely deletes wrong file (missing path traversal protection also unclear) --- agents/meshinstall-initd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agents/meshinstall-initd.sh b/agents/meshinstall-initd.sh index 5d5f88ac49..c30b54d49d 100644 --- a/agents/meshinstall-initd.sh +++ b/agents/meshinstall-initd.sh @@ -40,7 +40,7 @@ stop() { else echo 'Service not running' fi - rm -f $"PIDFILE" + rm -f "$PIDFILE" fi } restart(){ @@ -82,3 +82,4 @@ case "$1" in ;; esac exit 0 +