Commit 1ea1f2a8 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

[FIX] (csback, BFO2LSDF): evaluate rsync exit status

This is a legacy commit from before 2015-05-18.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.
parent 5bc1f057
......@@ -25,7 +25,8 @@
# 05/08/2012 V1.0 Daniel Armbruster
# 10/09/2012 V1.1 set bandwidth limit for rsync
# 05/02/2013 V1.2 print rsync EXIT CODE to log message
# 07/03/2014 V1.4 add DL1 data directory
# 03/07/2014 V1.4 add DL1 data directory
# 07/07/2014 V1.5 systematically missed rsync exit status
#
# ============================================================================
#
......@@ -119,7 +120,7 @@ do
# write status to logfile
RSYNCSTATUS=$?
if [ $? -eq 0 ]
if [ $RSYNCSTATUS -eq 0 ]
then
${LOGGER} -i -p user.info "${LOGINFO} Copied data \
'${BFO_BASEDIR}/${DATADIRS[$i]}' \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment