Bug#826381: [uscan] exits non-zero if already on newest upstream version

James McCoy jamessan at debian.org
Thu Jun 9 01:56:58 UTC 2016


On Sun, Jun 05, 2016 at 08:39:27AM +0200, Daniel Baumann wrote:
> if a debian source package is already at the newest upstream version, uscan
> ends with exit code 1. Why? There's no error in that.

>From uscan(1):

  EXIT STATUS
         The exit status gives some indication of whether a newer
         version was found or not; one is advised to read the output to
         determine exactly what happened and whether there were any
         warnings to be noted.

         0   Either --help or --version was used, or for some watch file
             which was examined, a newer upstream version was located.

         1   No newer upstream versions were located for any of the
             watch files examined.

It's been like this for years.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB



More information about the devscripts-devel mailing list