wrong variable in default setting of More Options dialog

This commit is contained in:
2016-12-16 11:53:10 +01:00
parent 7008ba72bf
commit 93f3645fc5
+2 -4
View File
@@ -27,8 +27,6 @@ function checkexit {
if [ $1 = 1 ]; then exit 1; fi
}
cd "$(dirname "$(readlink -f "$0")")"
if [ $(zenity --question --cancel-label "More options" --ok-label "Close" --text "$(apg -m 16 -M NCL -a 1)" --title "Generated Passwords"; echo $?) == 1 ]; then
# More options requested
@@ -61,10 +59,10 @@ if [ $(zenity --question --cancel-label "More options" --ok-label "Close" --text
# Set defaults if no entry was given
if [ "$PLEN" == "" ]; then
PLEN="12"
PLEN="16"
fi
if [ "$PALG" == "" ]; then
PLEN="1"
PALG="1"
fi
if [ "$POPT" == "" ]; then
POPT="NCL"