From 6cdd3337fdb0273316fa5dc239cd01c0c5980004 Mon Sep 17 00:00:00 2001 From: Lucas Date: Sun, 3 May 2020 14:48:05 +0000 Subject: [PATCH] sekrit: fix arguments check --- bin/sekrit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sekrit.sh b/bin/sekrit.sh index 373b07c..903ec1f 100644 --- a/bin/sekrit.sh +++ b/bin/sekrit.sh @@ -62,7 +62,7 @@ to_number() sekrit_add() { - [ $# -eq 1 ] && [ -n "$1" ] || usage + [ $# -ge 1 ] && [ -n "$1" ] || usage key=$1 check_key "$key" shift