Skip to content

Commit

Permalink
do not wait for input on btrfs repair (#2500)
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-bonez authored Nov 7, 2023
1 parent bf40a9e commit 748277a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/src/disk/fsck/btrfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pub async fn btrfs_check_repair(logicalname: impl AsRef<Path>) -> Result<Require
Command::new("btrfs")
.arg("check")
.arg("--repair")
.arg("--force")
.arg(logicalname.as_ref())
.invoke(crate::ErrorKind::DiskManagement)
.await?;
Expand Down

0 comments on commit 748277a

Please sign in to comment.