Browse Source

Fix SC2230

Viktor Szépe 5 years ago
parent
commit
61613bee98
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deploy/vault_cli.sh

+ 1 - 1
deploy/vault_cli.sh

@@ -43,7 +43,7 @@ vault_cli_deploy() {
     return 1
   fi
 
-  VAULT_CMD=$(which vault)
+  VAULT_CMD=$(command -v vault)
   if [ ! $? ]; then
     _err "cannot find vault binary!"
     return 1