tape: make sure there is a filemark at the end of the tape
This commit is contained in:
@ -383,7 +383,7 @@ fn eject(param: Value) -> Result<(), Error> {
|
||||
fn eod(param: Value) -> Result<(), Error> {
|
||||
|
||||
let mut handle = get_tape_handle(¶m)?;
|
||||
handle.move_to_eom()?;
|
||||
handle.move_to_eom(false)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
@ -551,7 +551,7 @@ fn move_to_eom(mut param: Value) -> Result<(), Error> {
|
||||
|
||||
let mut drive = open_drive(&config, &drive)?;
|
||||
|
||||
drive.move_to_eom()?;
|
||||
drive.move_to_eom(false)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user