> Returning a non-zero exit status is generally a sign of some sort of
> failure.  Not applying a patch due to already having the patch applied
> is not really a failure.
Generally agreed, though at the same time, sysupgrade returns non-zero
if there is no upgrade to apply so the same behaviour /could/ be valid here.

That being said:
> Instead, you could run syspatch -c from a regular cron job and
> patch+reboot whenever that tells you there's new patches available.
That sounds like a better approach in this case. I'll double check the
behaviour of syspatch -c, and perhaps look into making a patch that
updates the usage output of syspatch.

Anyway, best to disregard the original diff now I think.

Thanks,
S

Reply via email to