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
zmaudit.pl problem, solution
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: zmaudit.pl problem, solution
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,
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,