chiark / gitweb /
pkg-config: export systemd{system,user}generatordir and catalogdir
[elogind.git] / src / core / scope.c
index e0de951b11cd613dcf0048b57c1fea2918204568..20a969d913d30c605a61304ef3654ea4dffed9de 100644 (file)
@@ -112,7 +112,7 @@ static int scope_verify(Scope *s) {
         if (UNIT(s)->load_state != UNIT_LOADED)
                 return 0;
 
-        if (set_size(s->pids) <= 0) {
+        if (set_size(s->pids) <= 0 && UNIT(s)->manager->n_reloading <= 0) {
                 log_error_unit(UNIT(s)->id, "Scope %s has no PIDs. Refusing.", UNIT(s)->id);
                 return -EINVAL;
         }