]> mj.ucw.cz Git - bex.git/commitdiff
bex prun: Forgotten debug message
authorMartin Mares <mj@ucw.cz>
Mon, 28 Jan 2013 14:59:41 +0000 (15:59 +0100)
committerMartin Mares <mj@ucw.cz>
Mon, 28 Jan 2013 14:59:41 +0000 (15:59 +0100)
lib/bin/bex-prun

index 5c1c93b866f1f858b6775e05b645810987eec493..c31c12524987c4d0436a8270a3c236ab1b660200 100755 (executable)
@@ -292,7 +292,7 @@ sub place_slot($) {
                        print STDERR "I: Replacing ", $best->{'Host'}, " (pri $bestpri)\n";
                        delete $best->{'Row'};
                }
-               print STDERR "I: Allocated ", $s->{'Host'}, " \@$besti (pri $pri)\n";
+               print STDERR "I: Allocated ", $s->{'Host'}, " \@$besti (pri $pri)\n" if $debug;
                $s->{'Row'} = $besti;
                $by_row[$besti] = $s;
        } else {