File 0586-95zfcp_rules-parse-zfcp.sh-remove-rule-existence-check.patch of Package dracut.12460

diff -ur dracut-044.orig/modules.d/95zfcp_rules/parse-zfcp.sh dracut-044/modules.d/95zfcp_rules/parse-zfcp.sh
--- dracut-044.orig/modules.d/95zfcp_rules/parse-zfcp.sh	2018-12-21 11:52:21.457034071 +0100
+++ dracut-044/modules.d/95zfcp_rules/parse-zfcp.sh	2018-12-21 11:56:19.179414976 +0100
@@ -22,8 +22,6 @@
         return 0;
     fi
 
-    [ -e ${_rule} ] && return 0
-
     if [ ! -f "$_rule" ] ; then
         cat > $_rule <<EOF
 ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="$ccw", IMPORT{program}="collect $ccw %k ${ccw} zfcp"
openSUSE Build Service is sponsored by