2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-13 23:00:22 +00:00
This commit is contained in:
huweihua
2015-10-26 22:23:42 -04:00
parent 00a2d3bc24
commit 424fe09d70

View File

@@ -179,8 +179,8 @@ function cleanup()
if mount |grep "$IMGROOTPATH/tmp/ofed/mountpoint"; then
umount "$IMGROOTPATH/tmp/ofed/mountpoint"
fi
if mount |grep "$IMGROOTPATH/dev/"; then
umount "$IMGROOTPATH/dev/"
if mount |grep "$IMGROOTPATH/dev"; then
umount "$IMGROOTPATH/dev"
fi
if mount |grep "$IMGROOTPATH/sys"; then
umount "$IMGROOTPATH/sys"