diff options
author | Leho Kraav <leho@kraav.com> | 2012-07-24 15:08:55 +0300 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2012-07-25 10:31:43 +0200 |
commit | e88e3b279784ca801996c5e32db8c3bc2df1ec29 (patch) | |
tree | 7d063dc1ca17f2e44296c7f23741201ace614561 /modules.d/90crypt | |
parent | df68781fca048de2f880be37ab9e1ede9bea5051 (diff) | |
download | dracut-e88e3b279784ca801996c5e32db8c3bc2df1ec29.tar.gz dracut-e88e3b279784ca801996c5e32db8c3bc2df1ec29.tar.bz2 dracut-e88e3b279784ca801996c5e32db8c3bc2df1ec29.zip |
91crypt-loop: replace basename calls with string matching
Diffstat (limited to 'modules.d/90crypt')
-rwxr-xr-x | modules.d/90crypt/crypt-lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/90crypt/crypt-lib.sh b/modules.d/90crypt/crypt-lib.sh index d5caa859..d66ba885 100755 --- a/modules.d/90crypt/crypt-lib.sh +++ b/modules.d/90crypt/crypt-lib.sh @@ -188,7 +188,7 @@ readkey() { if [ -f /lib/dracut-crypt-loop-lib.sh ]; then . /lib/dracut-crypt-loop-lib.sh loop_decrypt "$mntp" "$keypath" "$keydev" "$device" - initqueue --onetime --finished --unique --name "crypt-loop-cleanup-99-$(basename $mntp)" \ + initqueue --onetime --finished --unique --name "crypt-loop-cleanup-99-${mntp##*/}" \ $(command -v umount) "$mntp; " $(command -v rmdir) "$mntp" return 0 else |