chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
config_parse_set_status: put signals in the correct set
[elogind.git]
/
src
/
core
/
target.c
diff --git
a/src/core/target.c
b/src/core/target.c
index 68be22b38df3acf149afc52ab8f78e7550392fc9..33fb66bc3fe4800617d521d53bac86c55bde964d 100644
(file)
--- a/
src/core/target.c
+++ b/
src/core/target.c
@@
-137,7
+137,7
@@
static int target_start(Unit *u) {
assert(t->state == TARGET_DEAD);
target_set_state(t, TARGET_ACTIVE);
assert(t->state == TARGET_DEAD);
target_set_state(t, TARGET_ACTIVE);
- return
0
;
+ return
1
;
}
static int target_stop(Unit *u) {
}
static int target_stop(Unit *u) {
@@
-147,7
+147,7
@@
static int target_stop(Unit *u) {
assert(t->state == TARGET_ACTIVE);
target_set_state(t, TARGET_DEAD);
assert(t->state == TARGET_ACTIVE);
target_set_state(t, TARGET_DEAD);
- return
0
;
+ return
1
;
}
static int target_serialize(Unit *u, FILE *f, FDSet *fds) {
}
static int target_serialize(Unit *u, FILE *f, FDSet *fds) {