avoid "'sh' is not recognized..." error in mtr on windows
This commit is contained in:
parent
cb384d0d04
commit
0b6de3d1ce
@ -4,13 +4,13 @@ package My::Suite::Vault;
|
||||
|
||||
use strict;
|
||||
|
||||
return "Hashicorp Vault key management utility not found"
|
||||
unless `sh -c "command -v vault"`;
|
||||
|
||||
return "You need to set the value of the VAULT_ADDR variable"
|
||||
unless $ENV{VAULT_ADDR};
|
||||
|
||||
return "You need to set the value of the VAULT_TOKEN variable"
|
||||
unless $ENV{VAULT_TOKEN};
|
||||
|
||||
return "Hashicorp Vault key management utility not found"
|
||||
unless `sh -c "command -v vault"`;
|
||||
|
||||
bless {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user