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:
Daniel Verkamp 2017-03-28 14:16:10 -07:00
parent 641676ad0a
commit 0b89cff2ea

View File

@ -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 {