Skip to content

Commit

Permalink
Do not pass -q option to xfs.mkfs
Browse files Browse the repository at this point in the history
stratisd captures stdout and stderr and will only report the output on a
failure of the command. No need to make xfs.mkfs quiet via a
command-line option.

Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Jan 8, 2024
1 parent a384cc5 commit 58f7801
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion 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

0 comments on commit 58f7801

Please sign in to comment.