]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-lib.sh:cancel_wait_for_dev() fixed double escape
authorHarald Hoyer <harald@redhat.com>
Thu, 21 Aug 2014 14:38:35 +0000 (16:38 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 29 Aug 2014 12:14:59 +0000 (14:14 +0200)
modules.d/99base/dracut-lib.sh

index be724df0e9338735bf7435016f1e7c234fa693d8..b0ac08a048b2ae9dcb566cf8fc0de2859fbf11e3 100755 (executable)
@@ -905,7 +905,7 @@ wait_for_dev()
 cancel_wait_for_dev()
 {
     local _name
-    _name="$(str_replace "$1" '/' '\\x2f')"
+    _name="$(str_replace "$1" '/' '\x2f')"
     rm -f -- "$hookdir/initqueue/finished/devexists-${_name}.sh"
     rm -f -- "$hookdir/emergency/80-${_name}.sh"
     if [ -n "$DRACUT_SYSTEMD" ]; then