1
0
mirror of https://github.com/dynup/kpatch synced 2025-03-24 11:56:32 +00:00

test/integration: Silence warning about which

Shellcheck complains with the following warning:
SC2230: which is non-standard.

It is probably fair to assume that which is available for now, so just
ignore the warning.

Signed-off-by: Julien Thierry <jthierry@redhat.com>
This commit is contained in:
Julien Thierry 2020-06-03 08:34:01 +01:00
parent 9a66fa7df4
commit 1839980d1d

View File

@ -229,6 +229,7 @@ kpatch_install_vagrant()
kpatch_check_install_vagrant()
{
local image_path=${1}
# shellcheck disable=SC2230
[ "$(which vagrant)" == "" ] && kpatch_install_vagrant "${image_path}"
return 0
}