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