[pca] PCA return codes
Martin Paul
martin at par.univie.ac.at
Mon Sep 22 14:33:58 CEST 2008
Fred Chagnon wrote:
> In my wrapper script for pca, I would like to be able to determine if pca
> finished patching completely, or if it finished prematurely, perhaps due to
> a patch that required an immediate reconfigure reboot.
FWIW, there's currenly only one patch (118833-36 and its counterpart
118855-36 for i386) that makes pca stop patch installation as it
requires an immediate reboot.
> Does pca have different return codes for these situations? Where can
> I see a list of possible exit situations?
Right now, there are only two exit codes: 0 if pca completed
successfully, and 1 if there was an error. In a wrapper script you might
have to parse pca's screen output for more detail.
More useful exit codes are pretty high on pca's ToDo list, it's just
that it will take some time until I go through the complete code and
come up with a list of usable exit codes.
Martin.
More information about the pca
mailing list