mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
feature #575: bug in exec_and_log
This commit is contained in:
parent
795dc66059
commit
3c3b2e981e
@ -94,7 +94,7 @@ function exec_and_log
|
||||
if [ "x$code" != "x0" ]; then
|
||||
log_error "Command \"$1\" failed."
|
||||
log_error "$output"
|
||||
if [ -n "$message" ]; then
|
||||
if [ -z "$message" ]; then
|
||||
error_message "$output"
|
||||
else
|
||||
error_message "$message"
|
||||
|
Loading…
x
Reference in New Issue
Block a user