From d6537f892b078f6508d8b09f14be143abca5dbe5 Mon Sep 17 00:00:00 2001 From: Alban Vidal Date: Sat, 20 Feb 2021 17:19:49 +0100 Subject: [PATCH] check_git - adding full path of local repo for diff --- conf/usr/local/sbin/check_git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/usr/local/sbin/check_git b/conf/usr/local/sbin/check_git index 0d5f15d..17bdd0f 100755 --- a/conf/usr/local/sbin/check_git +++ b/conf/usr/local/sbin/check_git @@ -92,7 +92,7 @@ while read REPO ; do # Si le sha1sum est différent, les fichiers sont différents if [ "$REPO_SHA1SUM" != "$LOCAL_SHA1SUM" ]; then RETURN_CODE=1 - EXIT_MESSAGE="${EXIT_MESSAGE}\n diff ${FILE#/} $FILE" + EXIT_MESSAGE="${EXIT_MESSAGE}\n diff ${REPO}/${FILE#/} $FILE" fi # Sinon s'il n'existe pas else