Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
copy_rdepends: Don't fail on missing source file
Signed-off-by: jamesfeatherston <[email protected]>
  • Loading branch information
jamesfeatherston authored and stgraber committed Dec 16, 2025
commit 49c34b1bcd72c602953ab9c4cb60bc4f2ebcf653
4 changes: 4 additions & 0 deletions src/lxc/lxccontainer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down