From 44dfadd29523969369bc6868a92ac0df868da4ff Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Wed, 6 Jun 2012 18:42:40 +0200 Subject: [PATCH] bug #1298: do not crash when sched-cred doesn't work --- src/vmm_mad/remotes/xen/deploy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vmm_mad/remotes/xen/deploy b/src/vmm_mad/remotes/xen/deploy index 7252a5f2ce..026144b50f 100755 --- a/src/vmm_mad/remotes/xen/deploy +++ b/src/vmm_mad/remotes/xen/deploy @@ -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