]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
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 696f64715528a5facf2771308f16a8facde6e1d6..33de5a23b1ee0d2f0a9ddc361029d6b72c286892 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"
     }