From 69a8be9d85307ef09100cacb152b3a5da41821e3 Mon Sep 17 00:00:00 2001 From: lissav <lissav@8638fb3e-16cb-4fca-ae20-7b5d299a9bcd> Date: Tue, 8 Dec 2009 19:49:50 +0000 Subject: [PATCH] do not stop if error from building cfm dist files, continue as long as one was built git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/tools/cfm2xcat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/share/xcat/tools/cfm2xcat b/xCAT-server/share/xcat/tools/cfm2xcat index d00a0a586..edc85a832 100755 --- a/xCAT-server/share/xcat/tools/cfm2xcat +++ b/xCAT-server/share/xcat/tools/cfm2xcat @@ -71,8 +71,8 @@ if (!($output)) } # call cfmupdatenode and build cfm distribution files -$rc = &buildcfmdistfiles($input); -if ($rc == 0) +&buildcfmdistfiles($input); +if (-e ($input)) # if anything built { # build the xcat sync files @@ -89,7 +89,7 @@ if ($rc == 0) } else { - print " Error building CFM dist files.\n"; + print " Error building CFM dist files, or nothing to do.\n"; } exit 0;