fix: don't hang when no -s passed
This commit is contained in:
parent
1af6d574c0
commit
a210934e6f
@ -312,6 +312,9 @@ Example:
|
||||
ch <- nil
|
||||
return
|
||||
}()
|
||||
} else {
|
||||
// close the channel, we're not serving anything
|
||||
ch <- nil
|
||||
}
|
||||
|
||||
for i := 1; i <= 2; i++ {
|
||||
|
Loading…
x
Reference in New Issue
Block a user