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;