sekrit: fix arguments check

This commit is contained in:
Lucas 2020-05-03 14:48:05 +00:00
parent d5e71c46f7
commit 6cdd3337fd

View File

@ -62,7 +62,7 @@ to_number()
sekrit_add()
{
[ $# -eq 1 ] && [ -n "$1" ] || usage
[ $# -ge 1 ] && [ -n "$1" ] || usage
key=$1
check_key "$key"
shift