summaryrefslogtreecommitdiffstats
path: root/client/shared/scripts/updateCache
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2014-08-04 09:00:16 +0000
committeririna <irinagomez@us.es>2014-08-04 09:00:16 +0000
commitc6130f42552b9954574f3453cad98fde09463725 (patch)
tree944f8920edfafc9791ade0341f6d2254cb4c18e6 /client/shared/scripts/updateCache
parent0e7f7979176951b40bf27cf139e47c99a3cb775a (diff)
#656 updateCache: se corrige parametros funcion
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4358 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/scripts/updateCache')
-rwxr-xr-xclient/shared/scripts/updateCache2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/shared/scripts/updateCache b/client/shared/scripts/updateCache
index 46a152c8..fe871809 100755
--- a/client/shared/scripts/updateCache
+++ b/client/shared/scripts/updateCache
@@ -262,7 +262,7 @@ case "$PROTOCOLO" in
ogMountImage CACHE "${IMGNAME#\/}" $IMGTYPE || exit $?
ogMountImage REPO "${IMGNAME#\/}" $IMGTYPE
# Esperamos que se monte la imagen en el servidor
- ogWaitSyncImage REPO "$IMGNAME" $IMGTYPE || exit $?
+ ogWaitSyncImage REPO "$IMGNAME" $IMGTYPE "mounted" || exit $?
ogEcho log session " rsync -aHAX$OPTRSYNC $USERRSYNC@$REPOIP::ogimages/$DIRMOUNT/ $DIRLOCAL"
rsync -aHAX$OPTRSYNC $PASSWORD "$USERRSYNC@$REPOIP::ogimages/$DIRMOUNT/" "$DIRLOCAL" 2>>$OGLOGCOMMAND | egrep "^sent|^sending|^total|%" >> $OGLOGCOMMAND
# RETVAL="1" -> OK RETVAL="2" -> error # valores igual que ogUpdateCacheIsNecesary