Change tab to spaces to fix alignment issue.
Fixes: commit 7d472515688fb330eee76dac1c39ae628398f757
("Iterate /sys/bus/ccwgroup/devices to tell if we should set up
rd.znet")
Signed-off-by: Coiby Xu <coxu(a)redhat.com>
---
dracut-module-setup.sh | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh
index 24a6be0..49837f4 100755
--- a/dracut-module-setup.sh
+++ b/dracut-module-setup.sh
@@ -469,19 +469,19 @@ find_online_znet_device() {
local NETWORK_DEVICES d ifname ONLINE
NETWORK_DEVICES=$(find $CCWGROUPBUS_DEVICEDIR -type l 2>/dev/null)
for d in $NETWORK_DEVICES
- do
+ do
read ONLINE < $d/online
if [ $ONLINE -ne 1 ]; then
continue
fi
- # determine interface name, if there (only for qeth and if
+ # determine interface name, if there (only for qeth and if
# device is online)
- if [ -f $d/if_name ]
- then
+ if [ -f $d/if_name ]
+ then
read ifname < $d/if_name
- elif [ -d $d/net ]
- then
- ifname=$(ls $d/net/)
+ elif [ -d $d/net ]
+ then
+ ifname=$(ls $d/net/)
fi
[ -n "$ifname" ] && break
done
--
2.32.0