Code Review
/
src
/
app-framework-main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Handle systemd's "inactive" state as transient
[src/app-framework-main.git]
/
src
/
afm-urun.c
diff --git
a/src/afm-urun.c
b/src/afm-urun.c
index
48f8436
..
d6185c8
100644
(file)
--- a/
src/afm-urun.c
+++ b/
src/afm-urun.c
@@
-93,7
+93,7
@@
static const char *wait_state_stable(int isuser, const char *dpath)
for (;;) {
state = systemd_unit_state_of_dpath(isuser, dpath);
if (state == NULL || state == SysD_State_Active
for (;;) {
state = systemd_unit_state_of_dpath(isuser, dpath);
if (state == NULL || state == SysD_State_Active
- || state == SysD_State_Failed
|| state == SysD_State_Inactive
)
+ || state == SysD_State_Failed)
return state;
/* TODO: sleep */
}
return state;
/* TODO: sleep */
}