mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
Do no print extra empty line in onegroup create
This commit is contained in:
parent
09b840076e
commit
494dfffb38
@ -52,7 +52,7 @@ class OneGroupHelper < OpenNebulaHelper::OneHelper
|
||||
group = factory
|
||||
exit_code , msg = group.create(group_hash)
|
||||
|
||||
puts msg if msg
|
||||
puts msg if msg && !msg.empty?
|
||||
|
||||
if (exit_code.class==Fixnum and exit_code < 0) or OpenNebula.is_error?(exit_code)
|
||||
puts exit_code.message if OpenNebula.is_error?(exit_code) && exit_code.message
|
||||
|
Loading…
x
Reference in New Issue
Block a user