提交 cc2e5f3b 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!101 iSulad: fix umount dev tmpfs bug

Merge pull request !101 from zhangsong234/master
%global _version 1.1.12
%global _release 20200306.143730.gitb83d1ed8
%global _release 20200311.212052.git8d13b09e
%global is_systemd 1
%global debug_package %{nil}
......
......@@ -255,7 +255,7 @@ static int umount_dev_tmpfs_for_system_container(const container_t *cont)
ERROR("Out of memory");
return -1;
}
if (umount(rootfs_dev_path) < 0 && errno != EINVAL) {
if (umount(rootfs_dev_path) < 0 && errno != ENOENT) {
ERROR("Failed to umount dev tmpfs: %s, error: %s", rootfs_dev_path, strerror(errno));
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册