summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2020-05-06 17:00:47 +0200
committerJonathan Bauer2020-05-06 17:00:47 +0200
commit9978c997ccf292d23b1b780b05efeeb7307cc608 (patch)
treeadb0cc127ed9bd367644cedd6c97654c7800dd99
parentMerge branch 'master' into nobash-merge (diff)
parent[dnbd3-rootfs] fix typo (diff)
downloadsystemd-init-9978c997ccf292d23b1b780b05efeeb7307cc608.tar.gz
systemd-init-9978c997ccf292d23b1b780b05efeeb7307cc608.tar.xz
systemd-init-9978c997ccf292d23b1b780b05efeeb7307cc608.zip
Merge branch 'master' into nobash-merge
-rwxr-xr-xbuilder/modules.d/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/modules.d/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh b/builder/modules.d/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh
index 5de1f2e9..aca83b8e 100755
--- a/builder/modules.d/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh
+++ b/builder/modules.d/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh
@@ -30,6 +30,6 @@ do
# "ln" returns an error if the link already exists.
source_path="../${file}"
target_path="${new_systemd_system_unit_path}/initrd.target.wants/${file}"
- ln --symbolic "$source_path" "$targetPath" &>/dev/null || \
+ ln --symbolic "$source_path" "$target_path" &>/dev/null || \
warn "Failed to link \"$source_path\" to \"$target_path\"."
done