Commit e7cd916e authored by unknown's avatar unknown
Browse files

Improve error message that describes waitpid($pid) returned unexpected result

parent 4693771f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -220,7 +220,8 @@ sub spawn_parent_impl {
      my $ret_pid= waitpid($pid,0);
      if ( $ret_pid != $pid )
      {
        mtr_error("$path ($pid) got lost somehow");
        mtr_error("waitpid($pid, 0) returned $ret_pid " .
		  "when waiting for '$path'");
      }

      return mtr_process_exit_status($?);