From 490df3bd9973ed66ece119573375196cfe686b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Re=CC=81mi=20Pre=CC=81vost?= Date: Sat, 21 Jan 2012 14:05:18 -0500 Subject: [PATCH] Use STDERR to output error messages --- lib/teamocil/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/teamocil/cli.rb b/lib/teamocil/cli.rb index 15df582..996d8d3 100644 --- a/lib/teamocil/cli.rb +++ b/lib/teamocil/cli.rb @@ -61,7 +61,7 @@ module Teamocil # # @param msg [Mixed] something to print before exiting. def bail(msg) # {{{ - puts "[teamocil] #{msg}" + STDERR.puts "[teamocil] #{msg}" exit 1 end # }}}