+4
−2
Loading
Since there's no global nullglob around, the pci_net_devs[@] may end up consisting of a single item including the entire sysfs/* path in case the net class is empty. Avoid that by proper expansion. Ideally, nullglob should be around globally, but this will be adressed in a separate refactor patch. Change-Id: I257ebd361d3929c4f6ede8ffa61ca52ac1d4d520 Signed-off-by:Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19549 Reviewed-by:
Karol Latecki <karol.latecki@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>