summaryrefslogtreecommitdiffstats
path: root/contrib/initramfs/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/initramfs/hooks')
-rwxr-xr-xcontrib/initramfs/hooks/zfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/initramfs/hooks/zfs b/contrib/initramfs/hooks/zfs
index 53e876d33..dd796b6ff 100755
--- a/contrib/initramfs/hooks/zfs
+++ b/contrib/initramfs/hooks/zfs
@@ -55,7 +55,7 @@ mkdir -p "$DESTDIR/etc/"
# automatically detected. The `find` utility and extended `cp` options are
# used here because libgcc_s.so could be in a subdirectory of /lib for
# multi-arch installations.
-cp --target-directory="$DESTDIR" --parents $(find /lib -type f -name libgcc_s.so.1)
+cp --target-directory="$DESTDIR" --parents $(find /lib/ -type f -name libgcc_s.so.1)
for ii in $COPY_EXEC_LIST
do