Browse Source

"MaJ ctl_host_process.sh"

master
Doug Le Tough 5 years ago
parent
commit
15201af44d
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      bin/ctl_host_process.sh

+ 0
- 5
bin/ctl_host_process.sh 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


Loading…
Cancel
Save