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

Debug printouts

parent 3a72c5bf
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;
+2 −1
Original line number Diff line number Diff line
@@ -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++;
    }