Skip to content

Commit 35054a9

Browse files
authored
Merge pull request #2 from asa-degroff/fix/install-pipefail-sigpipe
fix: resolve SIGPIPE false negative in installer library detection
2 parents 1afa688 + 416c0e6 commit 35054a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ have_shared_lib_soname() {
182182
local soname="$1"
183183

184184
if command -v ldconfig >/dev/null 2>&1; then
185-
ldconfig -p 2>/dev/null | grep -q "$soname"
185+
ldconfig -p 2>/dev/null | grep "$soname" >/dev/null 2>&1
186186
return $?
187187
fi
188188

0 commit comments

Comments
 (0)