Skip to content

Commit fc16b21

Browse files
author
olevole
committed
style
1 parent 26957f5 commit fc16b21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/sysinv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ sysinv_get_info_nics()
279279

280280
case "${platform}" in
281281
Linux)
282-
for i in $( ls /sys/class/net ); do
282+
for i in $( ${LS_CMD} /sys/class/net ); do
283283
if [ -n "${nics}" ]; then
284284
nic=s"${nics} ${i}"
285285
else
@@ -288,7 +288,7 @@ sysinv_get_info_nics()
288288
done
289289
;;
290290
*)
291-
for i in $(${IFCONFIG_CMD} -l); do
291+
for i in $( ${IFCONFIG_CMD} -l ); do
292292
case "${i%%[0-9]*}" in
293293
ipfw|ppp|sl|lp|faith|fwe|fwip|plip|pfsync|pflog|tun|vboxnet|lo)
294294
continue

0 commit comments

Comments
 (0)