Skip to content

Commit

Permalink
master: PROCESS-STATUS output was duplicated many times
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Dec 17, 2016
1 parent 613ab47 commit eed2ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/master/master-client.c
Expand Up @@ -69,8 +69,8 @@ master_client_process_status(struct master_client *client,
array_foreach(&services->services, servicep) {
if (args[0] != NULL && !str_array_find(args, (*servicep)->set->name))
continue;
str_truncate(str, 0);
for (p = (*servicep)->processes; p != NULL; p = p->next) {
str_truncate(str, 0);
master_client_process_output(str, p);
o_stream_nsend(client->conn.output,
str_data(str), str_len(str));
Expand Down

0 comments on commit eed2ab4

Please sign in to comment.