Skip to content

Commit 2d03ff5

Browse files
committed
Remove explicit path to zpool ldd check
1 parent 29a1049 commit 2d03ff5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

90zfsbootmenu/module-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ install() {
113113

114114
# Workaround for zfsonlinux/zfs#4749 by ensuring libgcc_s.so(.1) is included
115115
_ret=0
116-
if ldd /usr/bin/zpool | grep -qF 'libgcc_s.so'; then
116+
if ldd "$( command -v zpool )" | grep -qF 'libgcc_s.so'; then
117117
# Dracut will have already tracked and included it
118118
:
119119
elif command -v gcc-config >/dev/null 2>&1; then

0 commit comments

Comments
 (0)