Skip to content

Commit

Permalink
wotaskd - force directory creation for log file path
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthuss committed May 8, 2013
1 parent fcedd7f commit 766d605
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Applications/wotaskd/Resources/SpawnOfWotaskd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ LOG=/Library/WebObjects/Logs/SpawnOfWotaskd.log

if [ -f /tmp/logWebObjects ]; then

mkdir -p `dirname "$LOG"`

echo "************" >>${LOG}
echo "date: `date`" >>${LOG}
echo "args: $@" >>${LOG}
Expand Down

0 comments on commit 766d605

Please sign in to comment.