- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for exit (0.12 sec)
-
cmd/main.go
func Main(args []string) { // Set the minio app name. appName := filepath.Base(args[0]) if env.Get("_MINIO_DEBUG_NO_EXIT", "") != "" { freeze := func(_ int) { // Infinite blocking op <-make(chan struct{}) } // Override the logger os.Exit() logger.ExitFunc = freeze defer func() { if err := recover(); err != nil { fmt.Println("panic:", err) fmt.Println("")
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 6.4K bytes - Viewed (0) -
docs/debugging/inspect/main.go
os.Exit(1) } // dump private key to file privateKeyBytes := x509.MarshalPKCS1PrivateKey(privatekey) privateKeyBlock := &pem.Block{ Type: "RSA PRIVATE KEY", Bytes: privateKeyBytes, } privatePem, err := os.Create("support_private.pem") if err != nil { fmt.Printf("error when create private.pem: %s n", err) os.Exit(1) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 11 21:22:47 GMT 2024 - 4.8K bytes - Viewed (0) -
cni/cmd/istio-cni/main.go
"github.com/containernetworking/cni/pkg/version" "istio.io/istio/cni/pkg/plugin" "istio.io/istio/pkg/log" istioversion "istio.io/istio/pkg/version" ) func main() { if err := runPlugin(); err != nil { os.Exit(1) } } func runPlugin() error { if err := log.Configure(plugin.GetLoggingOptions("")); err != nil { return err } defer func() { // Log sync will send logs to install-cni container via UDS.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 13:56:46 GMT 2024 - 1.9K bytes - Viewed (0)