Closed m3rlinux closed 1 year ago
Hi, perhaps is better using this form on line 29 if [ ! -e "$YUM_CACHE_FILE" ] && [ ! -f "$YUM_CACHE_FILE" ] becouse running a script it throws the error of "missig bracket"
https://github.com/HenriWahl/checkmk-agent-plugin-yum/blob/2ee2eb6660970a36141b01be1f788d5175427dae/agents/plugins/yum#L29
Do you get an error?
Yep, see belove
What shell you you run it on?
no news...
Hi, perhaps is better using this form on line 29 if [ ! -e "$YUM_CACHE_FILE" ] && [ ! -f "$YUM_CACHE_FILE" ] becouse running a script it throws the error of "missig bracket"
https://github.com/HenriWahl/checkmk-agent-plugin-yum/blob/2ee2eb6660970a36141b01be1f788d5175427dae/agents/plugins/yum#L29