mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-29 18:50:08 +03:00
bug #1298: do not crash when sched-cred doesn't work
This commit is contained in:
parent
3c9b00173b
commit
44dfadd295
@ -50,7 +50,9 @@ if [ "x$?" = "x0" ]; then
|
||||
|
||||
$XM_CREDITS -d $name -w $credits
|
||||
|
||||
error_exit $? "Unable to set VM credits"
|
||||
if [ "x$?" != "x0" ]; then
|
||||
log_error "Unable to set VM credits"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo $domain_name
|
||||
|
Loading…
x
Reference in New Issue
Block a user