提交 a4876706 编写于 作者: Z zhangsong34

iSulad: print warning message if rootfs/dev mount point not found

Signed-off-by: Nzhangsong34 <zhangsong34@huawei.com>
上级 e4b5b197
......@@ -256,8 +256,7 @@ static int umount_dev_tmpfs_for_system_container(const container_t *cont)
return -1;
}
if (umount(rootfs_dev_path) < 0 && errno != ENOENT) {
ERROR("Failed to umount dev tmpfs: %s, error: %s", rootfs_dev_path, strerror(errno));
return -1;
WARN("Failed to umount dev tmpfs: %s, error: %s", rootfs_dev_path, strerror(errno));
}
}
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册