mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-18 07:18:27 +00:00
runtime: fix a typo in kata-collect-data.sh
Fix a typo while to check if mountpoint exist. Fixes: #3365 Signed-off-by: zhanghj <zhanghj.lc@inspur.com>
This commit is contained in:
@@ -714,7 +714,7 @@ unmount_partition()
|
||||
{
|
||||
local mountpoint="$1"
|
||||
[ -n "$mountpoint" ] || die "need mountpoint"
|
||||
[ -n "$mountpoint" ] || die "mountpoint does not exist: $mountpoint"
|
||||
[ -e "$mountpoint" ] || die "mountpoint does not exist: $mountpoint"
|
||||
|
||||
umount "$mountpoint"
|
||||
}
|
||||
|
Reference in New Issue
Block a user