[fix] Export instead of declaring dynamic variables

This commit is contained in:
William Wernert committed 2020-04-22 13:56:53 -04:00
1 parent 89674a0697
commit 25432b745d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -232,7 +232,7 @@ check_pass_match() {
local var=$3
if [ "$pass" = "$confirm_pass" ]; then
declare "$var=yes"
export "$var=yes"
else
whiptail_passwords_dont_match
fi