Why not use the following code:

if test ! -d $(dirname $PID); then
    mkdir $(dirname $PID)
    chown -R zabbix:zabbix $(dirname $PID)
fi

safes a variable, not a big deal, but still.

-- 
/var/run/zabbix-server deleted after reboot
https://bugs.launchpad.net/bugs/172775
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to