Possible fix to `invalid length "20"`?

This commit is contained in:
3wc 2021-05-04 08:10:54 +02:00
parent 935007dd86
commit 08d937104e
1 changed files with 1 additions and 1 deletions

2
abra
View File

@ -1649,7 +1649,7 @@ sub_app_secret_generate(){
if [[ -n "$LENGTH" ]]; then
if [ -z "$abra__cmd_" ]; then
require_binary pwgen
abra__cmd_="pwgen -s \"$LENGTH\" 1"
abra__cmd_="pwgen -s $LENGTH 1"
fi
else
if [ -z "$abra__cmd_" ]; then