view libtommath/mess.sh @ 621:d2daeb015138

Clean up leaked FD if getnameinfo fails. From Klocwork
author Matt Johnston <matt@ucc.asn.au>
date Thu, 07 Apr 2011 13:52:43 +0000
parents 5ff8218bcee9
children
line wrap: on
line source

#!/bin/bash
if cvs log $1 >/dev/null 2>/dev/null; then exit 0; else echo "$1 shouldn't be here" ; exit 1; fi