"MaJ ctl_host_process.sh"

This commit is contained in:
Doug Le Tough 2017-07-23 08:31:29 +02:00
parent 3b9540f32a
commit 15201af44d

View File

@ -74,11 +74,6 @@ function check_process
{
fct_message "Vérification de la présence du processus ${process} sur ${vm}:"
PID=$(ssh ${vm} "pidof ${process}")
RET_VAL=$?
if [ ! ${RET_VAL} -eq 0 ]; then
ERROR="Erreur lors de la vérification du processus"
fct_erreur 2
fi
if [ ${#PID} -eq 0 ]; then
fct_erreur 1
fi