]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - scripts/gen_initramfs_list.sh
pktcdvd: removing device does not remove its sysfs dir
[mirror_ubuntu-bionic-kernel.git] / scripts / gen_initramfs_list.sh
index 3eea8f15131bcde957bc0fc9699bd5f47934f62a..76af5f9623e3a41027e20c68fcd21610529bf4b4 100644 (file)
@@ -97,7 +97,7 @@ print_mtime() {
 }
 
 list_parse() {
-       echo "$1 \\"
+       [ ! -L "$1" ] && echo "$1 \\" || :
 }
 
 # for each file print a line in following format