UPD: added safty feature

This commit is contained in:
xpk 2024-03-19 09:10:50 +08:00
parent a54e4dd4c4
commit 8afacb1291
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86
1 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,11 @@ if [[ $# -lt 2 ]]; then
exit 0
fi
if [[ $# -gt 20 ]]; then
echo "For safty reasons, encryption of up to 20 files is allowed"
exit 0
fi
OPER=$1
shift