From ac080edb02cd50ef468a8532a0b33a34e00838e6 Mon Sep 17 00:00:00 2001 From: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com> Date: Fri, 29 Mar 2024 14:03:36 -0600 Subject: [PATCH] automatically accept clearing the log tree on btrfs repair (#2580) --- core/startos/src/disk/fsck/btrfs.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/startos/src/disk/fsck/btrfs.rs b/core/startos/src/disk/fsck/btrfs.rs index fe0cf3c33..2a198cd8f 100644 --- a/core/startos/src/disk/fsck/btrfs.rs +++ b/core/startos/src/disk/fsck/btrfs.rs @@ -1,3 +1,4 @@ +use std::io::Cursor; use std::path::Path; use tokio::process::Command; @@ -23,8 +24,8 @@ pub async fn btrfs_check_repair(logicalname: impl AsRef) -> Result