chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
selinux: figure out selinux context applied on exec() before closing all fds
[elogind.git]
/
src
/
core
/
transaction.c
diff --git
a/src/core/transaction.c
b/src/core/transaction.c
index 118a242e6e4bb4ccf8ace057509afebcffe89511..66ee90b7b27b4e99b2a8cc63e504feec92638a2c 100644
(file)
--- a/
src/core/transaction.c
+++ b/
src/core/transaction.c
@@
-722,10
+722,8
@@
int transaction_activate(Transaction *tr, Manager *m, JobMode mode, sd_bus_error
/* Tenth step: apply changes */
r = transaction_apply(tr, m, mode);
/* Tenth step: apply changes */
r = transaction_apply(tr, m, mode);
- if (r < 0) {
- log_warning_errno(-r, "Failed to apply transaction: %m");
- return r;
- }
+ if (r < 0)
+ return log_warning_errno(r, "Failed to apply transaction: %m");
assert(hashmap_isempty(tr->jobs));
assert(hashmap_isempty(tr->jobs));