dracut-functions.sh: grep for "--relative" for the ln_r() check
authorHarald Hoyer <harald@redhat.com>
Fri, 29 Jun 2012 10:04:30 +0000 (12:04 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 29 Jun 2012 10:54:38 +0000 (12:54 +0200)
dracut-functions.sh

index 696f647..33de5a2 100755 (executable)
@@ -193,7 +193,7 @@ convert_abs_rel() {
     echo "$__newpath"
 }
 
-if strstr "$(ln --help)" "relative"; then
+if strstr "$(ln --help)" "--relative"; then
     ln_r() {
         ln -sfnr "${initdir}/$1" "${initdir}/$2"
     }