summaryrefslogtreecommitdiff
path: root/dracut-functions.sh
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-06-29 12:04:30 +0200
committerHarald Hoyer <harald@redhat.com>2012-06-29 12:54:38 +0200
commit7224913d1663f1a9fb0aba59e8805e873d69242a (patch)
tree1d1ad3b02101475f122596ffa973521b603dab22 /dracut-functions.sh
parent026b81e980507289ec8c325bc26ce1e3ec62f3b0 (diff)
downloaddracut-7224913d1663f1a9fb0aba59e8805e873d69242a.tar.gz
dracut-7224913d1663f1a9fb0aba59e8805e873d69242a.tar.bz2
dracut-7224913d1663f1a9fb0aba59e8805e873d69242a.zip
dracut-functions.sh: grep for "--relative" for the ln_r() check
Diffstat (limited to 'dracut-functions.sh')
-rwxr-xr-xdracut-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut-functions.sh b/dracut-functions.sh
index 696f6471..33de5a23 100755
--- a/dracut-functions.sh
+++ b/dracut-functions.sh
@@ -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"
}