mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-11 20:21:23 +00:00
Replace last occurence of 'which' with 'command -v'
The later is builtin and POSIX compliant. Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
This commit is contained in:
parent
09a4a38d6e
commit
af0ab1854c
@ -68,7 +68,7 @@ in_userns() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_ldconfig() {
|
get_ldconfig() {
|
||||||
which "ldconfig.real" || which "ldconfig"
|
command -v "ldconfig.real" || command -v "ldconfig"
|
||||||
return $?
|
return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user