diff --git a/src/config.rs b/src/config.rs index 587e3789..d4ee58e2 100644 --- a/src/config.rs +++ b/src/config.rs @@ -531,6 +531,7 @@ impl ConfigFile { // If no config file exists, create a default one in the config directory if !res.0.exists() && res.1.is_empty() { + res.0 = possible_config_paths[0].clone(); debug!("No configuration exists"); write(&res.0, EXAMPLE_CONFIG).map_err(|e| { debug!(