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
fe9a13f7
Commit
fe9a13f7
authored
Jul 01, 2017
by
Christian Brauner
Committed by
GitHub
Jul 01, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1661 from 0x0916/2017-07-01/fix-set-state-error
start: send state to legacy lxc-monitord state server even if no state clients registered
parents
066e9fe8
65ee1673
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
start.c
src/lxc/start.c
+1
-0
No files found.
src/lxc/start.c
View file @
fe9a13f7
...
@@ -359,6 +359,7 @@ int lxc_set_state(const char *name, struct lxc_handler *handler,
...
@@ -359,6 +359,7 @@ int lxc_set_state(const char *name, struct lxc_handler *handler,
if
(
lxc_list_empty
(
&
handler
->
state_clients
))
{
if
(
lxc_list_empty
(
&
handler
->
state_clients
))
{
TRACE
(
"no state clients registered"
);
TRACE
(
"no state clients registered"
);
process_unlock
();
process_unlock
();
lxc_monitor_send_state
(
name
,
state
,
handler
->
lxcpath
);
return
0
;
return
0
;
}
}
...
...
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