Xymon Mailing List Archive search

another small bug + fix

1 message in this thread

list Stef Coene · Fri, 12 Dec 2008 10:58:45 +0100 ·
Not really a bug, but when the log directory does not exist, the hobbit server will start without any error.  A fix is easy, just create the direcory when it does not exist:

In hobbitd/hobbit.sh.DIST, add the mkdir line.  The -p creates the directory and parent directories and gives no error when the directory already exists:

 21 fi
 22
 23 mkdir -p @BBLOGDIR@
 24
 25 case "$1" in

(Henrik, I hope you don't mind that I send these reports a little late, but I did't had the time to test it earlier)


Stef