From 6ddc0242f7860f74110e7bda27bdfffc28dae8c8 Mon Sep 17 00:00:00 2001 From: Alban Vidal Date: Fri, 23 Oct 2020 19:19:40 +0200 Subject: [PATCH] =?UTF-8?q?check=5Fgit=20-=20Modification=20du=20fichier?= =?UTF-8?q?=20contenant=20les=20d=C3=A9p=C3=B4ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/usr/local/sbin/check_git | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/usr/local/sbin/check_git b/conf/usr/local/sbin/check_git index 6e3d330..e274a95 100755 --- a/conf/usr/local/sbin/check_git +++ b/conf/usr/local/sbin/check_git @@ -26,8 +26,8 @@ # Vérifie sur le fichier listant les repo existe, sinon échec # TODO : Mettre à jour le README et expliquer un peu comment fonctionne ce check -if [ ! -f /etc/zorval/liste_repo_check_git ] ; then - echo "ERREUR, le fichier /etc/zorval/liste_repo_check_git n'existe pas" +if [ ! -f /etc/zorval/git-monitored-repos ] ; then + echo "ERREUR, le fichier /etc/zorval/git-monitored-repos n'existe pas" echo "Merci de faire un tour sur le dépôt Git suivant :" echo "https://framagit.org/zorval/scripts/check-nrpe" exit 2 @@ -113,7 +113,7 @@ while read REPO ; do EXIT_MESSAGE="${EXIT_MESSAGE}\n" # Ajoute à retour à la ligne à la fin du check d'un dépôt -done < /etc/zorval/liste_repo_check_git +done < /etc/zorval/git-monitored-repos ################################################################################