Save in non-interactive mode

This commit is contained in:
Aditya Kulkarni
2019-10-18 15:38:16 -07:00
parent 4518965a41
commit 5905ef728b
2 changed files with 18 additions and 4 deletions

View File

@@ -137,6 +137,10 @@ pub fn main() {
error!("{}", e);
}
}
// Save before exit
command_tx.send(("save".to_string(), vec![])).unwrap();
resp_rx.recv().unwrap();
}
}