[pca] PCA return codes
Fred Chagnon
fchagnon at gmail.com
Wed Oct 22 15:06:43 CEST 2008
Fantastic.
Thanks Martin!
On Wed, Oct 22, 2008 at 9:04 AM, Martin Paul <martin at par.univie.ac.at>wrote:
> 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. Does pca have
>> different return codes for these situations? Where can I see a list of
>> possible exit situations?
>>
>
> I've taken the simple approach now, and at last implemented that in the
> current development release. From "pca --man":
>
> EXIT STATUS
> The following exit values are returned:
>
> 0 No error
> 1 Unknown error
> 2 Usage error
> 3 Reboot required to continue patch installation
> 4 Reboot required
> 5 Reboot recommended
>
> That should be enough for most wrapper scripts. The future will tell
> whether more exit values will be needed/added.
>
> Martin.
>
>
--
Fred Chagnon
fchagnon at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.univie.ac.at/mailman/private/pca/attachments/20081022/e94cef0f/attachment.html
More information about the pca
mailing list