mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-07-26 23:19:29 +02:00
Small fixup
This commit is contained in:
parent
c674ef5f2c
commit
4914c017d4
@ -78,7 +78,7 @@ fn create(command: CreateCommand) -> Result<(), Error> {
|
|||||||
.filter(|ref f| f.starts_with("usb-"))
|
.filter(|ref f| f.starts_with("usb-"))
|
||||||
.is_some()))
|
.is_some()))
|
||||||
{
|
{
|
||||||
return Err(ErrorKind::NotUSB.into());
|
Err(ErrorKind::NotUSB)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
let mount_point = tempdir().context(ErrorKind::TmpDirError)?;
|
let mount_point = tempdir().context(ErrorKind::TmpDirError)?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user