Skip to content

Commit

Permalink
Create root-dir when it does not exists, fix #35.
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitri committed Aug 29, 2014
1 parent 7065d26 commit a41f8ea
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,8 @@
;; output its data logs and reject files
(let ((root-dir-truename (probe-file root-dir)))
(if root-dir-truename
(progn
(setf *root-dir* (fad:pathname-as-directory root-dir-truename))
(mkdir-or-die *root-dir* debug))
(format t "FATAL: can't find root-dir: ~s~%" root-dir)))
(setf *root-dir* (fad:pathname-as-directory root-dir-truename))
(mkdir-or-die *root-dir* debug)))

;; Set parameters that come from the environement
(init-params-from-environment)
Expand Down

0 comments on commit a41f8ea

Please sign in to comment.