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