The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/8168
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) ===
From c91e2679b2c04544c20d82bec6942ffb31b17495 Mon Sep 17 00:00:00 2001 From: Thomas Hipp <thomas.h...@canonical.com> Date: Thu, 19 Nov 2020 08:17:18 +0100 Subject: [PATCH] lxd/device/disk: Ignore ErrNotRunning for virtfs-proxy-helper This removes a useless error message when the virtfs-proxy-helper has already been terminated. Signed-off-by: Thomas Hipp <thomas.h...@canonical.com> --- lxd/device/disk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxd/device/disk.go b/lxd/device/disk.go index 8a763693b2..ada3f82160 100644 --- a/lxd/device/disk.go +++ b/lxd/device/disk.go @@ -1293,7 +1293,7 @@ func (d *disk) stopVM() (*deviceConfig.RunConfig, error) { } err = proc.Stop() - if err != nil { + if err != nil && err != subprocess.ErrNotRunning { return &deviceConfig.RunConfig{}, err }
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel