Total runtime timeout, fix saves
[dnsseed-rust] / src / reader.rs
index a6a1fb0a0280ddbbe33c02b9df928cbd639de1ff..8250aaed871c44b49d794b3be394ec36c213c95d 100644 (file)
@@ -68,8 +68,8 @@ pub fn read(store: &'static Store, printer: &'static Printer) {
                        _ => err!(),
                }
                future::ok(())
-       }).then(|_| {
-               println!("Exiting");
+       }).then(move |_| {
+               printer.add_line("Shutting down...".to_string(), true);
                future::ok(())
        }));
 }