Commit a0d2a33d authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

capture correct output 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.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 5161
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent c566e8ee
......@@ -117,13 +117,17 @@ do
|& ${LOGGER} -i -p user.info -t "csback ${LOGINFO}" -s
# write status to logfile
RSYNCSTATUS=$?
if [ $? -eq 0 ]
then
${LOGGER} -i -p user.info "${LOGINFO} Copied data \
'${BFO_BASEDIR}/${DATADIRS[$i]}' successfully to LSDF (rsync EXIT CODE: $?)."
'${BFO_BASEDIR}/${DATADIRS[$i]}' \
successfully to LSDF (rsync EXIT CODE: \
${RSYNCSTATUS})."
else
${LOGGER} -i -p user.err "${LOGERROR} While copying data \
'${BFO_BASEDIR}/${DATADIRS[$i]}' to LSDF (rsync EXIT CODE: $?)."
'${BFO_BASEDIR}/${DATADIRS[$i]}' to LSDF (rsync EXIT CODE: \
${RSYNCSTATUS})."
fi
done
......
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