mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
add /sbin to the $PATH and use ldconfig -p instead of ldconfig -v
This commit is contained in:
1 parent
25fc3fb464
commit
c7a30b4b8b
1 file changed
+2
-1
@@ -3,8 +3,9 @@
|
||||
|
||||
RC=0
|
||||
|
||||
PATH=/sbin:$PATH
|
||||
set -e
|
||||
ldconfig -v 2>&1 | grep -q libcrypto.so || RC=1
|
||||
ldconfig -p 2>&1 | grep -q libcrypto.so || RC=1
|
||||
|
||||
if test ${RC} -ne 0; then
|
||||
echo
|
||||
|
||||