Skip to content

Commit

Permalink
BUG: qlicserver -C emitted complex=job instead of complex=0 for JOB c…
Browse files Browse the repository at this point in the history
…omplexes.

- reported on mailing list
  • Loading branch information
Mark Olesen authored and Mark Olesen committed Feb 3, 2010
1 parent ec166ba commit b86e070
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions site/qlicserver
Expand Up @@ -1212,9 +1212,16 @@ PRINT

if ( $opt{C} ) {
my $qconf = Qconf->query();

## ignore complexes that are already known
delete @{ $config->{-managed} }{ keys %$qconf };

if ( %{ $config->{-managed} } ) {
## initialize all values with zero
for ( values %{ $config->{-managed} } ) {
$_ = 0;
}

print <<'PRINT';
# initialize remaining managed resources with the following command:
PRINT
Expand Down

0 comments on commit b86e070

Please sign in to comment.