view libtommath/mess.sh @ 617:81def6b732c7

Clean up fd on failure. Found by Klocwork
author Matt Johnston <matt@ucc.asn.au>
date Thu, 07 Apr 2011 13:25:00 +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