summaryrefslogtreecommitdiffstats
path: root/client/engine/Rsync.lib
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2014-04-07 12:29:02 +0000
committeririna <irinagomez@us.es>2014-04-07 12:29:02 +0000
commit87a78ad661189b321ece3c8a25073cb71c58de9e (patch)
tree8950ceaff6b14adbc5251b213262174e931e7301 /client/engine/Rsync.lib
parentd1795da7434562436ce953fa25279d02290322dc (diff)
#565 Correccion errata valor variable backup para las sincronizadas tipo archivo
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4222 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/Rsync.lib')
-rwxr-xr-xclient/engine/Rsync.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Rsync.lib b/client/engine/Rsync.lib
index a68af442..b4811226 100755
--- a/client/engine/Rsync.lib
+++ b/client/engine/Rsync.lib
@@ -50,7 +50,7 @@ if [ "$1" == "CACHE" -o "$1" == "cache" ]; then
[ $? -ne 0 ] && return $(ogRaiseError $OG_ERR_DONTUNMOUNT_IMAGE "$1 $2.$IMGEXT"; echo $?)
fi
- if [ "$BACKUP" == "true" ]; then
+ if [ "$BACKUP" == "true" -o "$BACKUP" == "TRUE" ]; then
# Copia seguridad
ogEcho log session " $MSG_SCRIPTS_FILE_RENAME \"$IMGFILE\" -> \"$IMGFILE.ant\"."
cp -f "$IMGFILE" "$IMGFILE.ant"