view libtomcrypt/mess.sh @ 1053:fd3712d1ff7f

Better failure handling
author Matt Johnston <matt@ucc.asn.au>
date Sat, 28 Feb 2015 23:49:39 +0800
parents 0cbe8f6dbf9e
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, removed"; rm -f $1 ; fi