set -o noglob just in case

This commit is contained in:
Serghey Rodin 2018-04-08 22:06:20 +03:00
parent efa2b50b4c
commit 0d5c3c42a1

@ -82,6 +82,7 @@ if [ -z "$salt" ]; then
fi
# Generating hash
set -o noglob
hash=$($BIN/v-generate-password-hash $method $salt <<< "$password")
if [[ -z "$hash" ]]; then
echo "Error: password missmatch"