Commit 788362de authored by Magnus Svensson's avatar Magnus Svensson

Debug printouts

parent 3a72c5bf
......@@ -66,7 +66,9 @@ sub mixed_path {
my ($path)= @_;
if (IS_CYGWIN){
return unless defined $path;
$path= `cygpath -m $path`;
my $cmd= "cygpath -m $path";
print "$cmd\n";
$path= `$cmd`;
chomp $path;
}
return $path;
......
......@@ -88,7 +88,8 @@ sub mtr_get_unique_id($$) {
msg("taken: $id, $pid");
# Check if process with given pid is alive
if(!process_alive($pid)) {
msg("Removing slot $id used by missing process $pid");;
print "Removing slot $id used by missing process $pid\n";
msg("Removing slot $id used by missing process $pid");
delete $taken{$id};
$changed++;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment