summaryrefslogtreecommitdiff
path: root/src/repo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/repo.rs')
-rw-r--r--src/repo.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/repo.rs b/src/repo.rs
index bd87ea5..0de55c5 100644
--- a/src/repo.rs
+++ b/src/repo.rs
@@ -1,4 +1,3 @@
-
use colored::Colorize;
use std::fs;
use std::path::Path;
@@ -46,11 +45,8 @@ pub fn list_repositories() {
}
fn save_config(cfg: &Config) -> Result<(), String> {
- let path = Path::new("/var/ror/ror.conf");
+ let path = Path::new("/etc/ror/ror.conf");
let ini = cfg.to_ini().map_err(|e| format!("Failed to serialize config: {}", e))?;
fs::write(path, ini).map_err(|e| format!("Failed to write config: {}", e))?;
Ok(())
}
-
-
-