projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e03c77c
)
dracut-functions.sh: no '' for shell regex
author
Harald Hoyer
<harald@redhat.com>
Thu, 29 Mar 2012 12:38:45 +0000
(14:38 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Thu, 29 Mar 2012 12:38:45 +0000
(14:38 +0200)
dracut-functions.sh
patch
|
blob
|
history
diff --git
a/dracut-functions.sh
b/dracut-functions.sh
index
563669e
..
a77c42d
100755
(executable)
--- a/
dracut-functions.sh
+++ b/
dracut-functions.sh
@@
-172,7
+172,7
@@
get_fs_env() {
unset ID_FS_UUID
eval $(udevadm info --query=env --name=$1 \
| while read line; do
- [[ "$line" =~
'ID_FS_(TYPE|UUID)='
]] && echo $line;
+ [[ "$line" =~
ID_FS_(TYPE|UUID)=
]] && echo $line;
done)
[[ $ID_FS_TYPE ]] && return 0