Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Commit 2fb5d0a

Browse files
committed
Merge pull request #315 from tianon/remove-ip-stderr
Remove "boot2docker ip" stderr output
2 parents e41a9ae + d80b782 commit 2fb5d0a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cmds.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,7 @@ func cmdIP() error {
411411
}
412412
}
413413
if IP != "" {
414-
fmt.Fprintf(os.Stderr, "\nThe VM's Host only interface IP address is: ")
415-
fmt.Printf("%s", IP)
416-
fmt.Fprintf(os.Stderr, "\n\n")
414+
fmt.Println(IP)
417415
} else {
418416
fmt.Fprintf(os.Stderr, "\nFailed to get VM Host only IP address.\n")
419417
fmt.Fprintf(os.Stderr, "\tWas the VM initialized using boot2docker?\n")

0 commit comments

Comments
 (0)