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
d8bc14a7
Unverified
Commit
d8bc14a7
authored
Feb 20, 2019
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix existing mount target check
Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
1edf8fa4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lxccontainer.c
src/lxc/lxccontainer.c
+1
-1
No files found.
src/lxc/lxccontainer.c
View file @
d8bc14a7
...
@@ -4973,7 +4973,7 @@ static int create_mount_target(const char *dest, mode_t st_mode)
...
@@ -4973,7 +4973,7 @@ static int create_mount_target(const char *dest, mode_t st_mode)
if
(
ret
==
0
)
if
(
ret
==
0
)
TRACE
(
"Created mount target
\"
%s
\"
"
,
dest
);
TRACE
(
"Created mount target
\"
%s
\"
"
,
dest
);
else
if
(
ret
<
0
&&
ret
!=
EEXIST
)
{
else
if
(
ret
<
0
&&
errno
!=
EEXIST
)
{
SYSERROR
(
"Failed to create mount target
\"
%s
\"
"
,
dest
);
SYSERROR
(
"Failed to create mount target
\"
%s
\"
"
,
dest
);
return
-
1
;
return
-
1
;
}
}
...
...
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