endless: exit on first error
This commit is contained in:
3
pew.go
3
pew.go
@@ -743,7 +743,8 @@ func (cmd PewCmd) testArtifact(swg *sizedwaitgroup.SizedWaitGroup,
|
|||||||
for {
|
for {
|
||||||
output, err := q.Command("root", remoteTest)
|
output, err := q.Command("root", remoteTest)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
slog.Error().Err(err).Msg(output)
|
q.Stop()
|
||||||
|
slog.Fatal().Err(err).Msg(output)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
slog.Debug().Msg(output)
|
slog.Debug().Msg(output)
|
||||||
|
Reference in New Issue
Block a user