Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
eee59f94
Commit
eee59f94
authored
Sep 05, 2013
by
Serge Hallyn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clone: don't copy rdepends when not doing a snapshot clone
Signed-off-by:
Serge Hallyn
<
serge.hallyn@ubuntu.com
>
parent
2a2d36a4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lxccontainer.c
src/lxc/lxccontainer.c
+1
-0
No files found.
src/lxc/lxccontainer.c
View file @
eee59f94
...
@@ -1935,6 +1935,7 @@ static int copy_storage(struct lxc_container *c0, struct lxc_container *c,
...
@@ -1935,6 +1935,7 @@ static int copy_storage(struct lxc_container *c0, struct lxc_container *c,
ERROR
(
"Out of memory while setting storage path"
);
ERROR
(
"Out of memory while setting storage path"
);
return
-
1
;
return
-
1
;
}
}
if
(
flags
&
LXC_CLONE_SNAPSHOT
)
copy_rdepends
(
c
,
c0
);
copy_rdepends
(
c
,
c0
);
if
(
need_rdep
)
{
if
(
need_rdep
)
{
if
(
!
add_rdepends
(
c
,
c0
))
if
(
!
add_rdepends
(
c
,
c0
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment