Skip to content

Commit

Permalink
mxqd: Be less verbose when cancelling groups
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed Aug 18, 2015
1 parent 42e731c commit e3a023d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mxqd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1400,8 +1400,9 @@ int killallcancelled(struct mxq_server *server, int sig, unsigned int pgrp)
if (group->group.group_status != MXQ_GROUP_STATUS_CANCELLED)
continue;

mx_log_debug("Cancelling all running jobs in group=%s(%d):%lu",
group->group.user_name, group->group.user_uid, group->group.group_id);
if (group->jobs)
mx_log_debug("Cancelling all running jobs in group=%s(%d):%lu",
group->group.user_name, group->group.user_uid, group->group.group_id);

for (job=group->jobs; job; job=job->next) {
pid = job->job.host_pid;
Expand Down

0 comments on commit e3a023d

Please sign in to comment.