[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-tar] Exitcodes when creating archives

From: Benibr
Subject: [Help-tar] Exitcodes when creating archives
Date: Mon, 11 May 2015 21:02:11 +0200
User-agent: Roundcube Webmail/0.9.5


my company is maintaining an patched version of tar because some scripts expect an exitcode 0 even if the archived files change while creating the tar file. I read the tar manual [1] and figured out, that an exitcode 1 should be uncritical while creating an archive since tar 1.19. I also read the (patched) sourcecode and didn't find any part which says something else. However I couln't figure out how to proof that.

So the question is: can I be absolutly sure that an exitcode 1 is only thrown when a file changes while creating the archive? A possible command would be "tar --numeric-owner --listed-incremental -cpPf"

Thanks & Regards,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]