Add missing return
Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
@@ -40,7 +40,8 @@ func main() {
|
||||
if !ok {
|
||||
return
|
||||
}
|
||||
fmt.Printf("Stopping due to %s signal\n", rcvSig)
|
||||
fmt.Printf("Stopping due to %s signal.\n", rcvSig)
|
||||
return
|
||||
case <-timer.C:
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user