tape: cache changer state

This commit is contained in:
Dietmar Maurer
2021-02-19 16:48:19 +01:00
parent 5b9f575648
commit 4188fd59a0
4 changed files with 88 additions and 8 deletions

View File

@ -142,7 +142,7 @@ pub fn update_online_status(state_path: &Path, changer: Option<&str>) -> Result<
}
found_changer = true;
}
let status = match changer_config.status() {
let status = match changer_config.status(false) {
Ok(status) => status,
Err(err) => {
eprintln!("unable to get changer '{}' status - {}", changer_config.name, err);