From: Harald Hoyer Date: Thu, 21 Aug 2014 14:38:35 +0000 (+0200) Subject: dracut-lib.sh:cancel_wait_for_dev() fixed double escape X-Git-Tag: RHEL-7.1~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8715aa00a9f046ff923dffb1f36e9a6d09f31249;p=thirdparty%2Fdracut.git dracut-lib.sh:cancel_wait_for_dev() fixed double escape --- diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index be724df0e..b0ac08a04 100755 --- a/modules.d/99base/dracut-lib.sh +++ b/modules.d/99base/dracut-lib.sh @@ -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