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:
@@ -68,7 +68,7 @@ in_userns() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_ldconfig() {
|
get_ldconfig() {
|
||||||
which "ldconfig.real" || which "ldconfig"
|
command -v "ldconfig.real" || command -v "ldconfig"
|
||||||
return $?
|
return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user