From ce843ddd555042c5a1a96951f8f7a3d71d7a1175 Mon Sep 17 00:00:00 2001 From: Lukas Macura Date: Tue, 22 Nov 2016 15:19:28 +0100 Subject: [PATCH] Quiet error when zabbix user is not found --- lib/cache.lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cache.lib.sh b/lib/cache.lib.sh index 380c7ec..7ba385f 100644 --- a/lib/cache.lib.sh +++ b/lib/cache.lib.sh @@ -4,7 +4,7 @@ zaf_cache_init(){ if [ -z "$ZAF_CACHE_DIR" ] || [ "$ZAF_CACHE_DIR" = "/tmp/zafc" ]; then ZAF_CACHE_DIR=${ZAF_TMP_DIR}/zafc mkdir -p $ZAF_CACHE_DIR - chown $ZAF_FILES_UID $ZAF_CACHE_DIR + chown $ZAF_FILES_UID $ZAF_CACHE_DIR >/dev/null 2>/dev/null fi if [ -w $ZAF_CACHE_DIR ]; then zaf_trc "Cache: Removing stale entries"