Skip to content

Commit

Permalink
copy and paste error fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Jurgen Weber committed Jan 19, 2018
1 parent c707ce9 commit 2674f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func read_in_stdin(debug bool) string {
// https://flaviocopes.com/go-shell-pipes/

info, err := os.Stdin.Stat()
failOnError(err, "Failed to connect to RabbitMQ")
failOnError(err, "Failed to connect to stdin")

if info.Mode()&os.ModeCharDevice != 0 || info.Size() <= 0 {
fmt.Println("The command is intended to work with pipes.")
Expand Down

0 comments on commit 2674f5d

Please sign in to comment.