ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / po / podman / rm-podman-mac-helper-msg.patch
blobaff013565deb84d29caad585f4e2ae9c8c651ef1
1 diff --git a/pkg/machine/machine_common.go b/pkg/machine/machine_common.go
2 index d2ba418..5098cdc 100644
3 --- a/pkg/machine/machine_common.go
4 +++ b/pkg/machine/machine_common.go
5 @@ -34,13 +34,8 @@ func GetDevNullFiles() (*os.File, *os.File, error) {
6 // WaitAPIAndPrintInfo prints info about the machine and does a ping test on the
7 // API socket
8 func WaitAPIAndPrintInfo(forwardState APIForwardingState, name, helper, forwardSock string, noInfo, rootful bool) {
9 - suffix := ""
10 var fmtString string
12 - if name != define.DefaultMachineName {
13 - suffix = " " + name
14 - }
16 if forwardState == NoForwarding {
17 return
19 @@ -62,14 +57,6 @@ address can't be used by podman. `
21 if len(helper) < 1 {
22 fmt.Print(fmtString)
23 - } else {
24 - fmtString += `If you would like to install it, run the following commands:
26 - sudo %s install
27 - podman machine stop%[2]s; podman machine start%[2]s
30 - fmt.Printf(fmtString, helper, suffix)
32 case MachineLocal:
33 fmt.Printf("\nAnother process was listening on the default Docker API socket address.\n")