mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-03 21:52:31 +09:00
M #-: Output export error to stderr (#1823)
This commit is contained in:
1 parent
c9ece9714a
commit
5bcfcf2501
1 file changed
+1
-1
@@ -309,7 +309,7 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
puts key.to_s.upcase
|
||||
value.each do |id|
|
||||
if OpenNebula.is_error?(id)
|
||||
puts id.to_str
|
||||
STDERR.puts id.to_str
|
||||
exit(-1)
|
||||
else
|
||||
puts " ID: #{id}"
|
||||
|
||||
Reference in new issue
Block a user