File 0123-95zfcp_rules-fix-typo-in-module_setup.patch of Package dracut.12460

From 9e0bf05cd6e0a0ff50502dbce31a8d5031219fe7 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Thu, 17 Jul 2014 14:29:24 +0200
Subject: 95zfcp_rules: fix typo in module_setup

module_setup.sh has a typo preventing it from saving the correct
dracut commandline.

References: bnc#887582

Signed-off-by: Hannes Reinecke <hare@suse.de>
---
 modules.d/95zfcp_rules/module-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: dracut-042/modules.d/95zfcp_rules/module-setup.sh
===================================================================
--- dracut-042.orig/modules.d/95zfcp_rules/module-setup.sh	2015-06-24 18:02:15.445718391 +0200
+++ dracut-042/modules.d/95zfcp_rules/module-setup.sh	2015-06-24 18:02:22.510120561 +0200
@@ -52,7 +52,7 @@ install() {
         local _zfcp
 
         for _zfcp in $(cmdline) ; do
-            printf "%s\n" "$zfcp" >> "${initdir}/etc/cmdline.d/94zfcp.conf"
+            printf "%s\n" "$_zfcp" >> "${initdir}/etc/cmdline.d/94zfcp.conf"
         done
     fi
     if [[ $hostonly ]] ; then
openSUSE Build Service is sponsored by