Hi all,
I discovered that when using tar and compressing with bzip2 like:
$ tar -cvjf backup.tar.bz2 /backup ; echo $?
tar: Removing leading `/' from member names
tar: /backup/alwayschanging.log: file changed as we read it
1
I get the 1 as the return code when in the documentation [1] says:
Warning messages are output to the standard error and they do not
affect the exit code of tar command.
which is correct if I don't use the -j flag for bzip2.
Maybe the documentation should mention this caveat.
cheers,
rodolfo
[1] http://www.gnu.org/software/tar/manual/html_section/tar_27.html