Merge "Use -e to read"
This commit is contained in:
commit
849b40384a
1 changed files with 1 additions and 1 deletions
2
stack.sh
2
stack.sh
|
@ -214,7 +214,7 @@ function read_password {
|
|||
echo "It is probably best to avoid spaces and weird characters."
|
||||
echo "If you leave this blank, a random default value will be used."
|
||||
echo "Enter a password now:"
|
||||
read $var
|
||||
read -e $var
|
||||
pw=${!var}
|
||||
if [ ! $pw ]; then
|
||||
pw=`openssl rand -hex 10`
|
||||
|
|
Loading…
Reference in a new issue