]> 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>
Thu, 21 Aug 2014 14:38:35 +0000 (16:38 +0200)
modules.d/99base/dracut-lib.sh

index abcebf5be8353a88ab657ced65baddd239bee0e2..7d97c7a5b7a4fab433cfda1e3c4f6f414d5d0864 100755 (executable)
@@ -930,7 +930,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