tape: correctly skip cleaning tapes (not regular tapes)
This commit is contained in:
parent
08d8b2a4fd
commit
25d3965769
@ -56,7 +56,7 @@ pub trait MediaChange {
|
||||
for (import_export, element_status) in status.slots.iter() {
|
||||
if *import_export { continue; }
|
||||
if let ElementStatus::VolumeTag(ref tag) = element_status {
|
||||
if !tag.starts_with("CLN") { continue; }
|
||||
if tag.starts_with("CLN") { continue; }
|
||||
list.push(tag.clone());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user