Blame SOURCES/0205-dracut-lib.sh-cancel_wait_for_dev-fixed-double-escap.patch

a56a5e
From 8715aa00a9f046ff923dffb1f36e9a6d09f31249 Mon Sep 17 00:00:00 2001
a56a5e
From: Harald Hoyer <harald@redhat.com>
a56a5e
Date: Thu, 21 Aug 2014 16:38:35 +0200
a56a5e
Subject: [PATCH] dracut-lib.sh:cancel_wait_for_dev() fixed double escape
a56a5e
a56a5e
---
a56a5e
 modules.d/99base/dracut-lib.sh | 2 +-
a56a5e
 1 file changed, 1 insertion(+), 1 deletion(-)
a56a5e
a56a5e
diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
a56a5e
index be724df..b0ac08a 100755
a56a5e
--- a/modules.d/99base/dracut-lib.sh
a56a5e
+++ b/modules.d/99base/dracut-lib.sh
a56a5e
@@ -905,7 +905,7 @@ wait_for_dev()
a56a5e
 cancel_wait_for_dev()
a56a5e
 {
a56a5e
     local _name
a56a5e
-    _name="$(str_replace "$1" '/' '\\x2f')"
a56a5e
+    _name="$(str_replace "$1" '/' '\x2f')"
a56a5e
     rm -f -- "$hookdir/initqueue/finished/devexists-${_name}.sh"
a56a5e
     rm -f -- "$hookdir/emergency/80-${_name}.sh"
a56a5e
     if [ -n "$DRACUT_SYSTEMD" ]; then