2
0
mirror of git://github.com/lxc/lxc synced 2025-08-30 21:39:40 +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

View File

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