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:
parent
80c4f0b92f
commit
2ab48453e7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user