From 53564b6bca5a85c3cecaf2fd712b307cefe4bcdf Mon Sep 17 00:00:00 2001 From: Gregor Reitzenstein Date: Wed, 16 Dec 2020 14:47:13 +0100 Subject: [PATCH] Also point at the correct global config file... <.< --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3e9e58b..bf0f984 100644 --- a/src/main.rs +++ b/src/main.rs @@ -123,7 +123,7 @@ fn main() { // In the case of an Err it will be printed using `fmt::Debug` fn maybe(matches: clap::ArgMatches, log: Arc) -> Result<(), Error> { // If no `config` option is given use a preset default. - let configpath = matches.value_of("config").unwrap_or("/etc/bffh/config.toml"); + let configpath = matches.value_of("config").unwrap_or("/etc/diflouroborane.dhall"); let config = config::read(&PathBuf::from_str(configpath).unwrap())?; debug!(log, "Loaded Config: {:?}", config);