From a48767069b24539cf67834c5fed4eb85cd1f396f Mon Sep 17 00:00:00 2001 From: zhangsong34 Date: Fri, 27 Mar 2020 05:33:17 +0800 Subject: [PATCH] iSulad: print warning message if rootfs/dev mount point not found Signed-off-by: zhangsong34 --- src/services/execution/execute/execution.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/services/execution/execute/execution.c b/src/services/execution/execute/execution.c index 0a99965..e6a2f7b 100644 --- a/src/services/execution/execute/execution.c +++ b/src/services/execution/execute/execution.c @@ -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; -- GitLab