From 01f65b85b56761105fcbd11af5d26b9c5c789ee5 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Thu, 18 Jan 2024 09:17:30 +0800 Subject: [PATCH] fix: active and rollback pkg issue --- misc/actpkg.sh | 4 ++-- misc/rbkpkg.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/misc/actpkg.sh b/misc/actpkg.sh index 9faf4f91..038b17ca 100644 --- a/misc/actpkg.sh +++ b/misc/actpkg.sh @@ -6,7 +6,7 @@ extension=$(basename "${1}" | awk -F . '{print $NF}') case "${extension}" in deb) - if [ neType == "OMC" ]; then + if [ ${neType} == "OMC" ]; then systemctl stop restagent.service fi expect <