cleanup: remove debug output

This commit is contained in:
Dietmar Maurer 2020-12-29 11:59:57 +01:00
parent a33389c391
commit c431659d05

View File

@ -70,7 +70,6 @@ impl LinuxTapeDrive {
let mut handle = LinuxTapeHandle::new(file); let mut handle = LinuxTapeHandle::new(file);
let drive_status = handle.get_drive_status()?; let drive_status = handle.get_drive_status()?;
println!("drive status: {:?}", drive_status);
if !drive_status.tape_is_ready() { if !drive_status.tape_is_ready() {
bail!("tape not ready (no tape loaded)"); bail!("tape not ready (no tape loaded)");
@ -90,7 +89,7 @@ impl LinuxTapeDrive {
} }
} }
// Only root can seth driver options, so we cannot // Only root can set driver options, so we cannot
// handle.set_default_options()?; // handle.set_default_options()?;
Ok(handle) Ok(handle)