From 04ee3a4f0d19da31b17d2b8b3d542273af5d3916 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Mon, 16 Mar 2026 16:29:03 -0700 Subject: [PATCH] common: ignore stderr for the two new svcname helpers If either utility doesn't support the --svcname switch, ignore the error output and just return an empty string. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Signed-off-by: Zorro Lang --- common/xfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/xfs b/common/xfs index f7a6d2f2..7d7afbb5 100644 --- a/common/xfs +++ b/common/xfs @@ -2311,7 +2311,7 @@ _xfs_healer() { # This is easy because xfs_healer has always supported --svcname. _xfs_healer_svcname() { - _xfs_healer --svcname "$@" + _xfs_healer --svcname "$@" 2>/dev/null } # Compute the xfs_scrub systemd service instance name for a given path. This -- 2.47.3