Permalink
Browse files

Actually properly mark non-aggregatable ones

  • Loading branch information...
1 parent 9a9e79d commit 98c813735664c5a40fff2d99e2fd92163c17bc51 Ermal committed Feb 5, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 pfPorts/check_reload_status/files/check_reload_status.c
View
6 pfPorts/check_reload_status/files/check_reload_status.c
@@ -273,9 +273,11 @@ run_command(struct command *cmd, char *argv) {
free(command);
return;
}
- } else
- command->aggregate = 0;
+ }
}
+ if (!cmd->cmd.aggregate)
+ command->aggregate = 0;
+
TAILQ_INSERT_HEAD(&cmds, command, rq_link);
pthread_mutex_unlock(&mtx);

0 comments on commit 98c8137

Please sign in to comment.