mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-02 21:24:32 +01: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