All rsync error detection is based on the contents of the logfile. If the errors are not in the file, or if the logfile is not present, the backup script assumes everything went fine (!!!).
This PR uses the returncode as additional condition to marking the backup as successful.
All rsync error detection is based on the contents of the logfile. If the errors are not in the file, or if the logfile is not present, the backup script assumes everything went fine (!!!).
This PR uses the returncode as additional condition to marking the backup as successful.