Documentation
This commit is contained in:
parent
ad5c651241
commit
6822cf93fb
3
main.go
3
main.go
@ -78,6 +78,8 @@ func main() {
|
||||
}
|
||||
}
|
||||
|
||||
// SessionLoop opens sockets and loops when a socket error occurs, trying to
|
||||
// open the sockets again.
|
||||
func SessionLoop() {
|
||||
var err error
|
||||
for {
|
||||
@ -107,7 +109,6 @@ func SessionLoop() {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
|
||||
/* Loop will return on socket errors, for example when an i3
|
||||
* restart occurs. The socket will not be immediately available
|
||||
* then. Some connection errors can thus occur until i3 has
|
||||
|
Loading…
Reference in New Issue
Block a user