chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fstab-generator: Honor mount.usr*= on kernel command line
[elogind.git]
/
src
/
core
/
transaction.c
diff --git
a/src/core/transaction.c
b/src/core/transaction.c
index 805d40ae6a13c6004695717d641a8967902f87fc..dbb4133fe38f853f893a3c90b72082002414e7d8 100644
(file)
--- a/
src/core/transaction.c
+++ b/
src/core/transaction.c
@@
-870,7
+870,7
@@
int transaction_add_job_and_dependencies(
}
if (type != JOB_STOP && unit->load_state == UNIT_ERROR) {
}
if (type != JOB_STOP && unit->load_state == UNIT_ERROR) {
- if (unit->load_error == -ENOENT)
+ if (unit->load_error == -ENOENT
|| unit->manager->test_run
)
sd_bus_error_setf(e, BUS_ERROR_LOAD_FAILED,
"Unit %s failed to load: %s.",
unit->id,
sd_bus_error_setf(e, BUS_ERROR_LOAD_FAILED,
"Unit %s failed to load: %s.",
unit->id,
@@
-1143,7
+1143,7
@@
Transaction *transaction_new(bool irreversible) {
if (!tr)
return NULL;
if (!tr)
return NULL;
- tr->jobs = hashmap_new(
trivial_hash_func, trivial_compare_func
);
+ tr->jobs = hashmap_new(
NULL
);
if (!tr->jobs) {
free(tr);
return NULL;
if (!tr->jobs) {
free(tr);
return NULL;