summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/afm-urun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afm-urun.c b/src/afm-urun.c
index 48f8436..d6185c8 100644
--- 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
- || state == SysD_State_Failed || state == SysD_State_Inactive)
+ || state == SysD_State_Failed)
return state;
/* TODO: sleep */
}