Skip to content

Commit

Permalink
refactor: restore infinite loop at the end of main function
Browse files Browse the repository at this point in the history
Restored the 'select {}' statement at the end of the main function for an infinite loop.
  • Loading branch information
BadEnd777 committed Jan 21, 2024
1 parent 74233b4 commit e32842d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,6 @@ func main() {
log.Info("If it works, you should see a lot of \"Error pinging host\" messages.")
log.Info("Because the program blocks the servers, it will not be able to connect to them.")
}

select {}
}

0 comments on commit e32842d

Please sign in to comment.