chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shared/capability: go frugal on space for caps
[elogind.git]
/
src
/
core
/
swap.c
diff --git
a/src/core/swap.c
b/src/core/swap.c
index 1ef672f7e9e7a3ce565b57ce9597bd7ff60d3ff3..4fbabda568d35b0a3a8c5a44cfa79b46bbf6cfff 100644
(file)
--- a/
src/core/swap.c
+++ b/
src/core/swap.c
@@
-837,7
+837,7
@@
static int swap_start(Unit *u) {
s->result = SWAP_SUCCESS;
swap_enter_activating(s);
- return
0
;
+ return
1
;
}
static int swap_stop(Unit *u) {
@@
-860,7
+860,7
@@
static int swap_stop(Unit *u) {
return -EPERM;
swap_enter_deactivating(s);
- return
0
;
+ return
1
;
}
static int swap_serialize(Unit *u, FILE *f, FDSet *fds) {