mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
trim fs name
This commit is contained in:
committed by
Aiden McClelland
parent
22666412c3
commit
a2543ccddc
@@ -36,7 +36,9 @@ impl RepairStrategy {
|
|||||||
.arg(logicalname.as_ref())
|
.arg(logicalname.as_ref())
|
||||||
.invoke(crate::ErrorKind::DiskManagement)
|
.invoke(crate::ErrorKind::DiskManagement)
|
||||||
.await?,
|
.await?,
|
||||||
)? {
|
)?
|
||||||
|
.trim()
|
||||||
|
{
|
||||||
"ext2" => self.e2fsck(logicalname).await,
|
"ext2" => self.e2fsck(logicalname).await,
|
||||||
"btrfs" => self.btrfs_check(logicalname).await,
|
"btrfs" => self.btrfs_check(logicalname).await,
|
||||||
fs => {
|
fs => {
|
||||||
|
|||||||
Reference in New Issue
Block a user