diff --git a/daemon/wait.go b/daemon/wait.go index 40f480f..3ad96a5 100644 --- a/daemon/wait.go +++ b/daemon/wait.go @@ -25,6 +25,6 @@ func WaitForSignal(sig ...os.Signal) os.Signal { } // WaitForSignalsDefault waits until one of SIGINT, SIGQUIT or SIGTERM is received. -func WaitForSignalsDefault() { - WaitForSignal(Interrupt, Quit, Terminate) +func WaitForSignalsDefault() os.Signal { + return WaitForSignal(Interrupt, Quit, Terminate) }