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