Skip to content

Commit

Permalink
Merge pull request #3525 from mulkieran/thin-check-loud
Browse files Browse the repository at this point in the history
Do not suppress output via command-line option for mkfs.xfs or thin_check
  • Loading branch information
mulkieran authored Jan 8, 2024
2 parents 594d568 + c0b10d2 commit aa492c2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/engine/strat_engine/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ pub fn create_fs(devnode: &Path, uuid: Option<StratisUuid>) -> StratisResult<()>

let mut command = Command::new(get_executable(MKFS_XFS).as_os_str());
command.arg("-f");
command.arg("-q");
command.arg(devnode);

if let Some(uuid) = uuid {
Expand Down Expand Up @@ -342,11 +341,7 @@ pub fn set_uuid(devnode: &Path, uuid: FilesystemUuid) -> StratisResult<()> {

/// Call thin_check on a thinpool
pub fn thin_check(devnode: &Path) -> StratisResult<()> {
execute_cmd(
Command::new(get_executable(THIN_CHECK).as_os_str())
.arg("-q")
.arg(devnode),
)
execute_cmd(Command::new(get_executable(THIN_CHECK).as_os_str()).arg(devnode))
}

/// Call thin_repair on a thinpool
Expand Down

0 comments on commit aa492c2

Please sign in to comment.