diff options
author | irina <irinagomez@us.es> | 2014-08-04 09:00:16 +0000 |
---|---|---|
committer | irina <irinagomez@us.es> | 2014-08-04 09:00:16 +0000 |
commit | c6130f42552b9954574f3453cad98fde09463725 (patch) | |
tree | 944f8920edfafc9791ade0341f6d2254cb4c18e6 /client/shared/scripts/updateCache | |
parent | 0e7f7979176951b40bf27cf139e47c99a3cb775a (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-x | client/shared/scripts/updateCache | 2 |
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 |