You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ra...@apache.org on 2013/12/18 10:58:35 UTC

git commit: updated refs/heads/4.3 to c5088ee

Updated Branches:
  refs/heads/4.3 58f079d8c -> c5088eeab


CLOUDSTACK-5520 CLOUDSTACK-5418 Script errors seen when trying to seed the 64 bit Xenserver templates.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c5088eea
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c5088eea
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c5088eea

Branch: refs/heads/4.3
Commit: c5088eeab594571c6c66e6712467097eefffb4af
Parents: 58f079d
Author: Rajesh Battala <ra...@citrix.com>
Authored: Wed Dec 18 15:32:39 2013 +0530
Committer: Rajesh Battala <ra...@citrix.com>
Committed: Wed Dec 18 15:33:11 2013 +0530

----------------------------------------------------------------------
 scripts/storage/secondary/createtmplt.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c5088eea/scripts/storage/secondary/createtmplt.sh
----------------------------------------------------------------------
diff --git a/scripts/storage/secondary/createtmplt.sh b/scripts/storage/secondary/createtmplt.sh
index 05874b4..6b31232 100755
--- a/scripts/storage/secondary/createtmplt.sh
+++ b/scripts/storage/secondary/createtmplt.sh
@@ -174,7 +174,7 @@ isCifs() {
    #then check if the template file is from cifs using df -P filename
    #Currently only cifs is supported in hyperv zone.
    mount | grep "type cifs" > /dev/null
-   return $?
+   echo $?
 }
 
 if [ "$tflag$nflag$fflag$sflag" != "1111" ]
@@ -204,7 +204,7 @@ rollback_if_needed $tmpltfs $? "tar archives not supported\n"
 
 if [ ${tmpltname%.vhd} != ${tmpltname} ]
 then
-  if [ isCifs -ne 0 ] ;
+  if [ $(isCifs) -ne 0 ] ;
   then
       if  which  vhd-util &>/dev/null
       then