sekrit: fix arguments check
This commit is contained in:
parent
d5e71c46f7
commit
6cdd3337fd
@ -62,7 +62,7 @@ to_number()
|
|||||||
|
|
||||||
sekrit_add()
|
sekrit_add()
|
||||||
{
|
{
|
||||||
[ $# -eq 1 ] && [ -n "$1" ] || usage
|
[ $# -ge 1 ] && [ -n "$1" ] || usage
|
||||||
key=$1
|
key=$1
|
||||||
check_key "$key"
|
check_key "$key"
|
||||||
shift
|
shift
|
||||||
|
Loading…
Reference in New Issue
Block a user