chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util: rework strappenda(), and rename it strjoina()
[elogind.git]
/
src
/
core
/
snapshot.c
diff --git
a/src/core/snapshot.c
b/src/core/snapshot.c
index 068a077f15311c680be4f1b26683563ed8cd1f95..b70c3beb6023c1b75455c636bbaf8d8d9a0c0dc1 100644
(file)
--- a/
src/core/snapshot.c
+++ b/
src/core/snapshot.c
@@
-111,7
+111,7
@@
static int snapshot_start(Unit *u) {
if (s->cleanup)
unit_add_to_cleanup_queue(u);
if (s->cleanup)
unit_add_to_cleanup_queue(u);
- return
0
;
+ return
1
;
}
static int snapshot_stop(Unit *u) {
}
static int snapshot_stop(Unit *u) {
@@
-121,7
+121,7
@@
static int snapshot_stop(Unit *u) {
assert(s->state == SNAPSHOT_ACTIVE);
snapshot_set_state(s, SNAPSHOT_DEAD);
assert(s->state == SNAPSHOT_ACTIVE);
snapshot_set_state(s, SNAPSHOT_DEAD);
- return
0
;
+ return
1
;
}
static int snapshot_serialize(Unit *u, FILE *f, FDSet *fds) {
}
static int snapshot_serialize(Unit *u, FILE *f, FDSet *fds) {