From 58aba29d4047acd7534aed8c9f6c341242918172 Mon Sep 17 00:00:00 2001 From: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Date: Sun, 27 Feb 2022 19:46:12 +0100 Subject: [PATCH] indent to match the rest of the scripts --- utils/ls-iommu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/ls-iommu b/utils/ls-iommu index 857059f..7e2f590 100755 --- a/utils/ls-iommu +++ b/utils/ls-iommu @@ -2,7 +2,7 @@ # Script from Wendell from Level1Tech # Originally from here: https://forum.level1techs.com/t/ubuntu-17-04-vfio-pcie-passthrough-kernel-update-4-14-rc1/119639 for d in /sys/kernel/iommu_groups/*/devices/*; do - n=${d#*/iommu_groups/*}; n=${n%%/*} - printf 'IOMMU Group %s: ' "$n" - lspci -nns "${d##*/}" + n=${d#*/iommu_groups/*}; n=${n%%/*} + printf 'IOMMU Group %s: ' "$n" + lspci -nns "${d##*/}" done \ No newline at end of file