Skip to content

Commit 33a4fb6

Browse files
jfsmigfvennetier
authored andcommitted
gridinit: Fix a regression
1 parent d93600a commit 33a4fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/gridinit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ service_run_groupv(int nb_groups, char **groupv, GString *out, _on_proc_f cb)
264264
TRACE("Callback on group [%s]", what);
265265
ctx.group = what + 1;
266266
gint count = supervisor_run_services(&ctx, _group_filter);
267-
if (count > 0 && out) {
267+
if (count <= 0 && out) {
268268
/* notifies the client the group has not been found */
269269
g_string_append_printf(out, "%d %s\n", ENOENT, what);
270270
}

0 commit comments

Comments
 (0)