mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-04-28 14:45:24 +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() {
|
||||
which "ldconfig.real" || which "ldconfig"
|
||||
command -v "ldconfig.real" || command -v "ldconfig"
|
||||
return $?
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user