summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2017-02-18 10:04:22 +0700
committerDaniil Baturin <daniil@baturin.org>2017-02-18 10:04:22 +0700
commitd498690d867f84c6c48f6e93cbd0a0c0c2909e4f (patch)
tree7561bba75ec53b792b17a8dd246078c37a8ba289 /src
parent9359bd5e230d26ced10d167f79714c5a61fd4899 (diff)
downloadvyconf-d498690d867f84c6c48f6e93cbd0a0c0c2909e4f.tar.gz
vyconf-d498690d867f84c6c48f6e93cbd0a0c0c2909e4f.zip
Make config file path relative to basepath.
Diffstat (limited to 'src')
-rw-r--r--src/vyconfd.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vyconfd.ml b/src/vyconfd.ml
index c2ca6f7..4058a5b 100644
--- a/src/vyconfd.ml
+++ b/src/vyconfd.ml
@@ -143,6 +143,7 @@ let make_world config dirs =
let () =
let () = Arg.parse args (fun f -> ()) usage in
+ let () = config_file := FP.concat !basepath !config_file in
let config = Startup.load_config !config_file in
let () = Lwt_log.load_rules ("* -> " ^ config.log_level) in
let dirs = Directories.make !basepath config in