bug #1298: do not crash when sched-cred doesn't work

This commit is contained in:
Javi Fontan committed 2012-06-06 18:42:40 +02:00
1 parent 3c9b00173b
commit 44dfadd295
1 file changed
+3 -1
+3 -1
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