From 7b4ac7b45bc849cf4acf097f08d6402235a0c5e4 Mon Sep 17 00:00:00 2001 From: huweihua Date: Wed, 2 Jul 2014 05:12:22 -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..065c93a77 100755 --- a/xCAT/postscripts/syscloneimgupdate +++ b/xCAT/postscripts/syscloneimgupdate @@ -1,9 +1,13 @@ #!/bin/bash #Used only by sysclone -installmethods=`cat /etc/xcat/xcatinstallinfo` +installmethods='' +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