Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
sgsullivan committed Aug 3, 2022
1 parent f8d43ee commit a58bd01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions befehl.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ func (instance *Instance) buildHostLists(hostsFilePath string) ([]string, error)
}

func (instance *Instance) executePayloadOnHosts(payload []byte, hostsFilePath string, routines int) error {
hostsList, hostsListsErr := instance.buildHostLists(hostsFilePath)
if hostsListsErr != nil {
return hostsListsErr
hostsList, err := instance.buildHostLists(hostsFilePath)
if err != nil {
return err
}

var wg sync.WaitGroup
Expand Down

0 comments on commit a58bd01

Please sign in to comment.