From 654a4e651c5fa06c6540bf1646a134ac76dd210a Mon Sep 17 00:00:00 2001 From: Todor Ivanov Date: Wed, 4 Dec 2024 12:40:24 +0100 Subject: [PATCH] Add back non running components to restartComponent --- deploy/restartComponent.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/restartComponent.sh b/deploy/restartComponent.sh index efd4e8ae49..a3dc34847c 100755 --- a/deploy/restartComponent.sh +++ b/deploy/restartComponent.sh @@ -13,7 +13,7 @@ DEST_NAME=cms-wmcore-team [[ -z $WMA_INSTALL_DIR ]] && { echo "ERROR: Trying to run without having the full WMAgent environment set!"; exit 1 ;} echo -e "\n###Checking agent logs at: $(date)" -compsRunning=$(manage execute-agent wmcoreD --status |grep -E "Running:[0-9]+" |awk '{print $1}' |awk -F \: '{print $2}') +compsRunning=$(manage execute-agent wmcoreD --status |awk '{print $1}' |awk -F \: '{print $2}') for comp in $compsRunning; do COMPLOG=$WMA_INSTALL_DIR/$comp/ComponentLog if [ ! -f $COMPLOG ]; then