mirror of
https://github.com/limosek/zaf.git
synced 2024-11-23 02:49:05 +01:00
Quiet error when zabbix user is not found
This commit is contained in:
parent
5838292856
commit
ce843ddd55
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user