From f8ca646bbaf736723830a6c2f289be5109e205eb Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 13 Nov 2023 09:58:43 -0600 Subject: [PATCH] Update certs.inc --- inc/certs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/certs.inc b/inc/certs.inc index 2c590ddb..186e480e 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -401,7 +401,7 @@ LISTCERTS(){ fi else if [ "${NM_NODEMANAGER}" != "$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1 | head -n1)" ]; then - ssh root@${NM_NODEMANAGER} sed -i "/${SUBJECT}/d" ${NM_FOLDER}/conf/ssl-domain-checks.conf >/dev/null 2&>1 + run=$(ssh root@${NM_NODEMANAGER} sed -i "/${SUBJECT}/d" ${NM_FOLDER}/conf/ssl-domain-checks.conf) >/dev/null 2&>1 fi # sed -i "/${SUBJECT}/d" ${NM_FOLDER}/conf/ssl-domain-checks.conf >/dev/null 2&>1 fi