Always print return code

This commit is contained in:
Nico Schottelius 2007-08-14 14:36:33 +02:00
parent d08ac69af6
commit 30352b83a8

View file

@ -489,8 +489,10 @@ while [ "$i" -lt "$no_sources" ]; do
ret=$?
echo "Rsync return code: $ret."
if [ "$ret" -ne 0 ]; then
echo "rsync reported error $ret. The backup may be broken (see rsync errors)."
echo "Warning: rsync exited non-zero, the backup may be broken (see rsync errors)."
fi
#