Skip to content
Advertisement

Tag: return-code

Does tar exit code 123 always mean empty archive?

The tar man page only documents return codes 0, 1, and 2 but explains further: If a subprocess that had been invoked by tar exited with a nonzero exit code, tar itself exits with that code as well. This can happen, for example, if a compression option (e.g. -z) was used and the external compressor program failed. Another example is

Advertisement