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 <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
# 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