1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

M #: Fix oneprovison rc comparsion (#694)

This commit is contained in:
Jan Orel 2021-01-22 16:49:00 +01:00 committed by GitHub
parent 80c4f0b92f
commit 2ab48453e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ CommandParser::CmdParser.new(ARGV) do
if OpenNebula.is_error?(rc)
STDERR.puts rc.message
exit(-1)
elsif rc < 0
elsif rc.to_i < 0
puts "ID: #{rc}"
rc
else