1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-15 05:57:23 +03:00

M #-: Output export error to stderr (#1823)

(cherry picked from commit 5bcfcf2501d4979ec3518b8f8cdfff9d1e537874)
This commit is contained in:
Pavel Czerný 2022-03-03 08:45:50 +01:00 committed by Tino Vazquez
parent 5b98877648
commit 14d19d7656
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

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