]> mj.ucw.cz Git - bex.git/commitdiff
bex prun: --debug-children does not overwrite the log
authorMartin Mares <mj@ucw.cz>
Sat, 19 Jan 2013 19:05:41 +0000 (20:05 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 19 Jan 2013 19:05:41 +0000 (20:05 +0100)
lib/bin/bex-prun

index 0d0d012e3564b098ee27d66c105e3e48f47ce7dc..280877ad48a7570add7331ff5da13303eb0e0967 100755 (executable)
@@ -71,7 +71,7 @@ while (keys %running || @machines) {
                        "--queue=" . $queue->{'Name'},
                        $mach,
                        );
-               push @cmd, ">debug.log", "2>&1" if $debug_children;
+               push @cmd, ">>debug.log", "2>&1" if $debug_children;
                push @tm, join(" ", @cmd);
                system @tm;
                !$? or $ui->update($mach, undef, 'INTERR');