1
0
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:
Javi Fontan 2012-06-06 18:42:40 +02:00
parent 3c9b00173b
commit 44dfadd295

View File

@ -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