zfsonlinux/zfs-patches/ignore-zfs-import-error.patch
2015-04-14 10:37:18 +02:00

11 lines
456 B
Diff

Index: new/etc/systemd/system/zfs-import-scan.service.in
===================================================================
--- new.orig/etc/systemd/system/zfs-import-scan.service.in
+++ new/etc/systemd/system/zfs-import-scan.service.in
@@ -8,4 +8,4 @@ ConditionPathExists=!@sysconfdir@/zfs/zp
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=@sbindir@/zpool import -d /dev/disk/by-id -aN
+ExecStart=-@sbindir@/zpool import -d /dev/disk/by-id -aN