Merge branch 'cleanup_filesystem_mount_ordering'

This commit is contained in:
Saverio Miroddi 2021-06-14 13:51:32 +02:00
commit 32d73df8f0

View File

@ -1456,7 +1456,7 @@ function fix_filesystem_mount_ordering {
# On Debian, this file may exist already.
#
chroot_execute "[[ ! -f /etc/zfs/zed.d/history_event-zfs-list-cacher.sh ]] && ln -s /usr/lib/zfs-linux/zed.d/history_event-zfs-list-cacher.sh /etc/zfs/zed.d/"
chroot_execute "if [[ ! -f /etc/zfs/zed.d/history_event-zfs-list-cacher.sh ]]; then ln -s /usr/lib/zfs-linux/zed.d/history_event-zfs-list-cacher.sh /etc/zfs/zed.d/; fi"
# Assumed to be present by the zedlet above on Debian, but missing.
# Filed issue: https://github.com/zfsonlinux/zfs/issues/9945.