Don't try to create a default config at path that exists
Browse files at this commitea7add35631630b7fe718d970d189ee6ce1a33f0Parent: e9c6f08- fix
- don't try to create a default config at path that exists
1 changed file +1 -1
- src/main.rs +1 -1
src/main.rsmodified+1 -1
| @@ -355,7 +355,7 @@ fn config_path(cli_path: Option<PathBuf>) -> (PathBuf, PathBuf, bool) { | |||
| 355 | let system_path = system_config_path(); | 355 | let system_path = system_config_path(); |
| 356 | if let Some(path) = default_config_path() { | 356 | if let Some(path) = default_config_path() { |
| 357 | if path.exists() { | 357 | if path.exists() { |
| 358 | - return (path.clone(), path, true); | 358 | + return (path.clone(), path, false); |
| 359 | } | 359 | } |
| 360 | 360 | ||
| 361 | if system_path.exists() { | 361 | if system_path.exists() { |