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() {
|
for (import_export, element_status) in status.slots.iter() {
|
||||||
if *import_export { continue; }
|
if *import_export { continue; }
|
||||||
if let ElementStatus::VolumeTag(ref tag) = element_status {
|
if let ElementStatus::VolumeTag(ref tag) = element_status {
|
||||||
if !tag.starts_with("CLN") { continue; }
|
if tag.starts_with("CLN") { continue; }
|
||||||
list.push(tag.clone());
|
list.push(tag.clone());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user