From 0742f72f4fccb985f51f92da608d8670a945cda3 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Mon, 17 Sep 2012 23:55:28 +0200 Subject: [PATCH] fix error handling in aa-decode Acked-By: Steve Beattie Looks-Good-By: ;-) Seth Arnold --- utils/aa-decode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/aa-decode b/utils/aa-decode index e6e911368..be23e84e2 100755 --- a/utils/aa-decode +++ b/utils/aa-decode @@ -50,7 +50,7 @@ if [ -n "$1" ]; then e=`echo "$1" | tr -s '[:lower:]' '[:upper:]'` if ! echo "$e" | egrep -q "^[0-9A-F]+$" ; then echo "String should only contain hex characters (0-9, a-f, A-F)" - return + exit 1 fi d=`decode $e`