On Tue, Aug 27, 2013 at 2:50 PM, Christian Marillat <marillat@???> wrote:
> ,----
> | if [ -z pidof mythlogserver ]; then
> | kill -HUP mythlogserver
> | fi
> `----
I think this needs to be (Note quotes)
[ -z "pidof mythlogserver" ];
Otherwise, I get the following error in my email
/etc/cron.daily/logrotate:
logrotate_script: 2: [: pidof: unexpected operator
Sorry for not catching this earlier, but this stanza does not run
unless logs were actually rotated.
--
Marty