"MaJ ctl_host_process.sh"
This commit is contained in:
parent
3b9540f32a
commit
15201af44d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user