Ensure locating libnss* files doesn't fail on merged-usr systems
[live-boot-grml.git] / backend / initramfs-tools / live.hook
index ef148b6..ff5fa70 100755 (executable)
@@ -246,7 +246,7 @@ fi
 # /lib/libnss_files.so.*:  /etc/hosts and /etc/passwd
 # /lib/libnss_compat.so.*: /etc/passwd
 
-for _SHLIB in $(find /lib -name 'libnss_dns.so.*' -o -name 'libnss_files.so.*')
+for _SHLIB in $(find /lib/ -name 'libnss_dns.so.*' -o -name 'libnss_files.so.*')
 do
        copy_exec "${_SHLIB}"
 done