Return out of windows signal handler
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
3762378760
commit
f444696989
@ -113,6 +113,7 @@ func handleSignals(logger *logrus.Entry, signals chan os.Signal) error {
|
|||||||
for s := range signals {
|
for s := range signals {
|
||||||
switch s {
|
switch s {
|
||||||
case os.Interrupt:
|
case os.Interrupt:
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user