summaryrefslogtreecommitdiffstats
path: root/client/engine/Rsync.lib
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2014-04-04 12:42:32 +0000
committeririna <irinagomez@us.es>2014-04-04 12:42:32 +0000
commitc4db9c18ec5b148dd67bb452af35b515f8c59e23 (patch)
treed4e79784d34cf5b3f3e33bb9c50a4e0eaf101462 /client/engine/Rsync.lib
parent006e950a2e2fe7fba70c674c74c1521e2bd99d37 (diff)
#565 Se crea codigo y mensaje de error para los problemas de transferencia de rsync.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4220 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/Rsync.lib')
-rwxr-xr-xclient/engine/Rsync.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/engine/Rsync.lib b/client/engine/Rsync.lib
index 2a5472e0..a68af442 100755
--- a/client/engine/Rsync.lib
+++ b/client/engine/Rsync.lib
@@ -356,7 +356,7 @@ function ogSyncCreate () {
#@param 4 Nombre Imagen
#@param 5 Tipo imagen [ img | diff ]
#*/
-local ORIG DIRAUX DIRMOUNT DESTRSYNC USERRSYNC PASSWORD OPTRSYNC
+local ORIG DIRAUX DIRMOUNT DESTRSYNC USERRSYNC PASSWORD OPTRSYNC RETVAL
# Limpiamos los archivo de log
echo "" >$OGLOGCOMMAND;
@@ -800,7 +800,7 @@ file "$IMGFILE" | grep -i -e " BTRFS Filesystem " -e " ext4 filesystem " >/dev/n
#@exception OG_ERR_NOTFOUND # 2 Fichero o dispositivo no encontrado.
#*/
ogCheckSyncImage (){
-local IMGEXT IMGDIR IMGFILE DIRMOUNT
+local IMGEXT IMGDIR IMGFILE DIRMOUNT RETVAL
if [ "$*" == "help" ]; then
ogHelp "$FUNCNAME": "$MSG_HELP_ogCheckSyncImage" \