@itemize
@item
Unexistent targets are considered always out-of-date, as it should be.
+@item
+ Do not panic if @env{$REDO_LOGS=1} and we were unable to start the command.
@end itemize
@anchor{Release 1_15_0}
); err == nil {
fields := []recfile.Field{
{Name: "Build", Value: BuildUUID},
- {Name: "PID", Value: strconv.Itoa(cmd.Process.Pid)},
{Name: "PPID", Value: strconv.Itoa(os.Getpid())},
{Name: "Cwd", Value: cwd},
}
+ if cmd.Process != nil {
+ fields = append(fields, recfile.Field{
+ Name: "PID", Value: strconv.Itoa(cmd.Process.Pid),
+ })
+ }
ts := new(tai64n.TAI64N)
ts.FromTime(started)
fields = append(fields,