Allow tar exit code 1

Version 1.4

Bugfix
Finished

As of tar 1.16, if a file is being changed as it's being included into a tar.gz file, tar will return exit code 1. DA previously only accepted error code 0 as valid. This change will allow the exit code of 1 to be valid and to not stop the backup process. The usual causes of this error could be things such as incoming, or deleting email as the backup is being created, or changing files mid-backup. Related: http://www.mail-archive.com/bug-tar@gnu.org/msg01215.html http://www.gnu.org/software/tar/manual/html_section/Synopsis.html Related error: Error Compressing the backup file user.reseller.username.tar.gz : /bin/tar: some/file/name.txt: file changed as we read it

Interested to try DirectAdmin? Get a 30-day Free Trial!