chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add org.freedesktop.DBus.Properies.Set method
[elogind.git]
/
src
/
unit.c
diff --git
a/src/unit.c
b/src/unit.c
index d75a06afc8ffd43edd40012ab42b5108fcb3beb5..359cb2d08478b928fb0410b4a98ebdeb80a0f38a 100644
(file)
--- a/
src/unit.c
+++ b/
src/unit.c
@@
-736,7
+736,7
@@
int unit_add_default_target_dependency(Unit *u, Unit *target) {
if (target->meta.type != UNIT_TARGET)
return 0;
if (target->meta.type != UNIT_TARGET)
return 0;
- /* Only add the dependency if both
s
units are loaded, so that
+ /* Only add the dependency if both units are loaded, so that
* that loop check below is reliable */
if (u->meta.load_state != UNIT_LOADED ||
target->meta.load_state != UNIT_LOADED)
* that loop check below is reliable */
if (u->meta.load_state != UNIT_LOADED ||
target->meta.load_state != UNIT_LOADED)
@@
-1124,7
+1124,7
@@
void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_su
job_add_to_run_queue(u->meta.job);
/* Let's check whether this state change constitutes a
job_add_to_run_queue(u->meta.job);
/* Let's check whether this state change constitutes a
- * finished job, or maybe cotradicts a running job and
+ * finished job, or maybe co
n
tradicts a running job and
* hence needs to invalidate jobs. */
switch (u->meta.job->type) {
* hence needs to invalidate jobs. */
switch (u->meta.job->type) {