Commit 0b6de3d1 authored by Sergei Golubchik's avatar Sergei Golubchik

avoid "'sh' is not recognized..." error in mtr on windows

parent cb384d0d
......@@ -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 {};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment