diff options
author | irina <irinagomez@us.es> | 2013-04-12 12:30:19 +0000 |
---|---|---|
committer | irina <irinagomez@us.es> | 2013-04-12 12:30:19 +0000 |
commit | e27c4f4131565bb26180fe29c4be4a92f1009bca (patch) | |
tree | f9685e00a586365df293378b6eaa845533d06c22 /client/engine/Rsync.lib | |
parent | 4085f13666d670d1d9c7b1849cf23094a88c61c9 (diff) |
#565 Imagenes sincronizadas: control de errores
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3742 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/Rsync.lib')
-rwxr-xr-x | client/engine/Rsync.lib | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/engine/Rsync.lib b/client/engine/Rsync.lib index 477998de..407ca93e 100755 --- a/client/engine/Rsync.lib +++ b/client/engine/Rsync.lib @@ -184,9 +184,6 @@ IMGACL="/tmp/ogimg.acl" rm /tmp/ogimg.* 2>/dev/null rm $ORIG/ogimg.* 2>/dev/null -# Creamos la informacion del contenido de la imagen -#echo " $MSG_SYNC_CREATEINFO." | tee -a $OGLOGSESSION $OGLOGFILE - # En las diferenciales no sabemos el tamaƱo -> ponemos una constante. SIZEDATA=${SIZEDATA:-"SIZEDATA"} @@ -219,7 +216,10 @@ fi # Imagenes basicas y diferenciales # Guardamos el contenido de las acl (Solo win) Necesario particion desmontada (esta asi) ogUnmount $1 $2 -[ $FSTYPE == "NTFS" ] && echo " ntfs-3g.secaudit -b $PART /" |tee -a $OGLOGSESSION $OGLOGFILE && ntfs-3g.secaudit -b $PART / > $IMGACL +if [ $FSTYPE == "NTFS" ]; then + echo " ntfs-3g.secaudit -b $PART /" |tee -a $OGLOGSESSION $OGLOGFILE + ntfs-3g.secaudit -b $PART / > $IMGACL +fi } |