From 49c34b1bcd72c602953ab9c4cb60bc4f2ebcf653 Mon Sep 17 00:00:00 2001 From: jamesfeatherston Date: Sat, 13 Dec 2025 18:49:57 -0600 Subject: [PATCH] copy_rdepends: Don't fail on missing source file Signed-off-by: jamesfeatherston --- src/lxc/lxccontainer.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c index 6f110ea3b..ea3a31bb4 100644 --- a/src/lxc/lxccontainer.c +++ b/src/lxc/lxccontainer.c @@ -3468,6 +3468,10 @@ static void copy_rdepends(struct lxc_container *c, struct lxc_container *c0) return; } + if (!file_exists(path0)) { + return; + } + if (copy_file(path0, path1) < 0) { INFO("Error copying reverse dependencies"); return; -- 2.47.3