endless: exit on first error
This commit is contained in:
parent
15d8ab8137
commit
ca95155ce0
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user