mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
fix error handling in aa-decode
Acked-By: Steve Beattie <sbeattie@ubuntu.com> Looks-Good-By: ;-) Seth Arnold <seth.arnold@gmail.com>
This commit is contained in:
parent
5a026afd9f
commit
0742f72f4f
1 changed files with 1 additions and 1 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Reference in a new issue