Bug#720508: [rmadison] happily dumps 500 error pages and exits with 0

James McCoy jamessan at debian.org
Fri Aug 23 00:55:42 UTC 2013


On Thu, Aug 22, 2013 at 08:20:16PM +0200, Cyril Brulebois wrote:
> here's what we're getting today if trying to use rmadison:
> | kibi at arya:~$ \rmadison linux
> | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> | <html><head>
> | <title>500 Internal Server Error</title>
> | …
> | kibi at arya:~$ echo $?
> | 0
> 
> It would probably be nice to notice the ISE and error out with non-0…

Apparently curl requires one to request that with --fail.

-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20130822/85f47f8b/attachment.sig>


More information about the devscripts-devel mailing list