mirror of https://github.com/minio/minio.git
change received system signal output to upper case (#6761)
This commit slightly improves the output of the minio server in case of a received system signal.
This commit is contained in:
parent
a55a298e00
commit
2447bb58dd
|
@ -19,6 +19,7 @@ package cmd
|
|||
import (
|
||||
"context"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/minio/minio/cmd/logger"
|
||||
)
|
||||
|
@ -71,7 +72,7 @@ func handleSignals() {
|
|||
exit(err == nil && oerr == nil)
|
||||
case osSignal := <-globalOSSignalCh:
|
||||
stopHTTPTrace()
|
||||
logger.Info("Exiting on signal %v", osSignal)
|
||||
logger.Info("Exiting on signal: %s", strings.ToUpper(osSignal.String()))
|
||||
exit(stopProcess())
|
||||
case signal := <-globalServiceSignalCh:
|
||||
switch signal {
|
||||
|
|
Loading…
Reference in New Issue