[Bro-Dev] #1007: Broctl cron message if stats/www already exists
Bro Tracker
bro at tracker.bro.org
Thu May 16 21:07:08 PDT 2013
#1007: Broctl cron message if stats/www already exists
-----------------------------+------------------------
Reporter: seth | Owner: seth
Type: Merge Request | Status: closed
Priority: Medium | Milestone: Bro2.2
Component: BroControl | Version: git/master
Resolution: Solved/Applied | Keywords:
-----------------------------+------------------------
Comment (by seth):
> Applied, however I'm not sure is fixes the issue: {{{mkdir -p}}} should
be
> safe against the directory already existing. I believe the error
messages
> indicates that a *file* of that name exists, in which case the new
> {{{-d}}} test will probably fail in the same way.
Oh, the report I got must have just been a hang over from the old problem
where the accidental www file was still in place. I'm hesitant to include
a line which check to see if it's a file and deletes it though
(essentially as a silent update).
--
Ticket URL: <http://tracker.bro.org/bro/ticket/1007#comment:11>
Bro Tracker <http://tracker.bro.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list