Use STDERR to output error messages

This commit is contained in:
Rémi Prévost 2012-01-21 14:05:18 -05:00
parent a43064e439
commit 490df3bd99

View File

@ -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 # }}}