From 06703120e0f6b52f08e0638a4b9b761342b538af Mon Sep 17 00:00:00 2001 From: huweihua Date: Wed, 2 Jul 2014 05:14:37 -0400 Subject: [PATCH] delete some comments --- xCAT/postscripts/syscloneimgupdate | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/syscloneimgupdate b/xCAT/postscripts/syscloneimgupdate index 8398f960d..d47332f73 100755 --- a/xCAT/postscripts/syscloneimgupdate +++ b/xCAT/postscripts/syscloneimgupdate @@ -1,9 +1,13 @@ #!/bin/bash #Used only by sysclone -installmethods=`cat /etc/xcat/xcatinstallinfo` +tallmethods='' +if [ -f "/etc/xcat/xcatinstallinfo" ];then + installmethods=`cat /etc/xcat/xcatinstallinfo` +fi + if [ "$installmethods" != "sysclone" ];then - echo "This node didn't be installed by sysclone" +# echo "This node didn't be installed by sysclone" exit 0 fi