checkupdates returns non-zero exit status 1

Johannes Löthberg johannes at kyriasis.com
Thu Oct 10 20:58:01 UTC 2019


Excerpts from Jeffrey Serio's message of October 10, 2019 22:37:
> Hello all. I'm just curious what is going on with the checkupdates
> script. It returns exit status 1. Anyone else have this issue? Or, is
> this the intended behavior for when there are no updates?
> 

Hey,

Somehow it had completely slipped my mind that ab69666 (checkupdates: 
add option to download updates using -Swu, 2019-04-24) exits with 1 if 
there are no updates.

The question is whether we should treat updates and no updates the same 
and exit with 0, or if we want different exit statuses for either case..
-- 
Sincerely,
  Johannes Löthberg :: SA0DEM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 1727 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/pacman-contrib/attachments/20191010/b29acd43/attachment.sig>


More information about the pacman-contrib mailing list