aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 64fa5991..aceb9659 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -133,9 +133,9 @@ fn run(mut config: Config, options: cli::Options) -> Result<(), Box<Error>> {
let config_updated = config_monitor.as_ref()
.and_then(|monitor| monitor.pending_config())
.map(|new_config| {
+ config = new_config;
display.update_config(&config);
processor.update_config(&config);
- config = new_config;
true
}).unwrap_or(false);