ARM-CI: fixing umount bug
authorPrajwal A N <an.prajwal@samsung.com>
Thu, 26 May 2016 05:21:18 +0000 (14:21 +0900)
committerPrajwal A N <an.prajwal@samsung.com>
Thu, 26 May 2016 05:21:18 +0000 (14:21 +0900)
commita80ae84d55c2b9fef152614fdf8f2642f69880ca
treeffab73746efd1c00c7a5d2035347f062479be799
parent824954a6d954a67634fe6d9bd2fb4017953967f2
ARM-CI: fixing umount bug

* Previous PR dotnet/coreclr#5209 did not check if rootfs is mounted before unmounting
* Build fails due to failed command
* Fixing this by unmounting only if rootfs is already mounted

Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/c971a4545728ce5ebf85fdb39a10a00d2e6541c9
src/coreclr/netci.groovy