Przeglądaj źródła

set -o noglob just in case

Serghey Rodin 7 lat temu
rodzic
commit
0d5c3c42a1
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      bin/v-check-user-password

+ 1 - 0
bin/v-check-user-password

@@ -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"