Page 1 of 1

zmaudit.pl problem, solution

Posted: Sat Nov 15, 2003 7:57 pm
by weyrick
i had a problem with zmaudit.pl not cleaning up orphaned events properly. turned out to be that my monitor's had spaces in the names, and in zmaudit where it calls "rm -rf .." it wasn't quoting the path name so it was failing because of the space.

i fixed it by changing the rm command to have a quoted path. alternatively, if monitor names shouldn't have spaces, this should be checked at monitor creation.

shannon

Re: zmaudit.pl problem, solution

Posted: Tue Nov 18, 2003 2:28 pm
by zoneminder
Hi Shannon,

Thanks for pointing this out, I'll apply the same fix to my source tree. I think there are one or two other issues with monitor names with spaces in them so while they aren't exactly forbidden they aren't recommended at present.

Phil,