From: Harald Hoyer Date: Thu, 29 Mar 2012 12:38:45 +0000 (+0200) Subject: dracut-functions.sh: no '' for shell regex X-Git-Tag: 018~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f6fe2ec794a06bed53f83c8f1e4236d0efe21c7;p=thirdparty%2Fdracut.git dracut-functions.sh: no '' for shell regex --- diff --git a/dracut-functions.sh b/dracut-functions.sh index 563669ef1..a77c42d1b 100755 --- 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