aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorHristo Venev <hristo@venev.name>2019-09-28 16:21:28 +0000
committerHristo Venev <hristo@venev.name>2019-09-28 16:22:07 +0000
commit8e6318f29eb022126e82e0c084262c77d9ee3300 (patch)
tree0a6d8a88e1e1f96daff61e1d19b144f93aa8f256 /src/main.rs
parent3a5552509439612accf579becc7cb85a596bd466 (diff)
Implement peer overrides.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 438cb3c..b6b5ce1 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -188,12 +188,12 @@ fn run_with_cmdline(argv0: &str, args: &mut impl Iterator<Item = OsString>) -> i
fn run_daemon(ifname: OsString, mut config: config::Config) -> i32 {
maybe_get_var(&mut config.updater.cache_directory, "CACHE_DIRECTORY");
- maybe_get_var(&mut config.runtime_directory, "RUNTIME_DIRECTORY");
+ maybe_get_var(&mut config.state_directory, "RUNTIME_DIRECTORY");
let mut m = match manager::Manager::new(ifname, config) {
Ok(m) => m,
Err(e) => {
- eprintln!("<1>Failed to open device: {}", e);
+ eprintln!("<1>Failed to start: {}", e);
return 1;
}
};