scripts/setup.sh: don't fail reset if hugetlbfs is empty
Change-Id: Ib399972b82adafbab5c8437e9141a1f3083292a1 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
641676ad0a
commit
0b89cff2ea
@ -137,7 +137,7 @@ function reset_linux {
|
||||
echo "1" > "/sys/bus/pci/rescan"
|
||||
|
||||
hugetlbfs_mount=$(linux_hugetlbfs_mount)
|
||||
rm "$hugetlbfs_mount"/spdk*map_*
|
||||
rm -f "$hugetlbfs_mount"/spdk*map_*
|
||||
}
|
||||
|
||||
function status_linux {
|
||||
|
Loading…
Reference in New Issue
Block a user