2
0
mirror of git://github.com/lxc/lxc synced 2025-08-30 11:02:03 +00:00

Merge pull request #4024 from simondeziel/no-which

Replace remaining occurences of 'which' with 'command -v'
This commit is contained in:
Stéphane Graber 2021-10-28 17:49:37 -04:00 committed by GitHub
commit 43b1b87972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ in_userns() {
}
get_ldconfig() {
which "ldconfig.real" || which "ldconfig"
command -v "ldconfig.real" || command -v "ldconfig"
return $?
}