I'm trying to make a tar of a logs directory, the applications are running so the logs keep changing, clearly when i run the tar command it give me the warning: "file changed as we read it", and give an exit status of 1, the problem is that the exit status keep being non zero (1) with the options:
--ignore-failed-read --ignore-command-error --warning=no-file-changed
There's a way to force the exit status 0?