From 10ab2eb049e80e95a364b0bc3f0b7af21bbddb5c Mon Sep 17 00:00:00 2001 From: Alban Vidal Date: Mon, 26 Apr 2021 00:40:04 +0200 Subject: [PATCH] =?UTF-8?q?check=5Flog=20-=20v=C3=A9rifie=20dans=20le=20r?= =?UTF-8?q?=C3=A9pertoire=20ulogd=20seulement=20si=20il=20existe=20(paquet?= =?UTF-8?q?=20ulogd2=20install=C3=A9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/common/usr/local/sbin/check_log | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/common/usr/local/sbin/check_log b/conf/common/usr/local/sbin/check_log index a29afa6..63c2d90 100755 --- a/conf/common/usr/local/sbin/check_log +++ b/conf/common/usr/local/sbin/check_log @@ -94,7 +94,9 @@ function find_log() { } find_log $REP_LOG -find_log $REP_ULOGD +if [ -d $REP_ULOGD ] ; then + find_log $REP_ULOGD +fi ################################################################################