checkupdates returns non-zero exit status 1

Daniel M. Capella polyzen at archlinux.org
Thu Oct 10 21:09:57 UTC 2019


Quoting Johannes Löthberg (2019-10-10 16:58:01)
> 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

Intended: https://bugs.archlinux.org/task/62336

PS: Sorry, I keep forgetting to reply-all.

--
Best,
Daniel <https://danielcapella.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <https://lists.archlinux.org/pipermail/pacman-contrib/attachments/20191010/1fbc75af/attachment.sig>


More information about the pacman-contrib mailing list