Use STDERR to output error messages
This commit is contained in:
parent
a43064e439
commit
490df3bd99
@ -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 # }}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user