zmaudit.pl problem, solution

Support and queries relating to all previous versions of ZoneMinder
Locked
weyrick
Posts: 2
Joined: Sat Nov 15, 2003 7:55 pm

zmaudit.pl problem, solution

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: zmaudit.pl problem, solution

Post 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,
Locked