summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2020-05-06 16:58:56 +0200
committerJonathan Bauer2020-05-06 16:58:56 +0200
commit56d05d81051bbf59b276f6a24107ac14553cc602 (patch)
treeef3874aa3d3a8505a5b909104b4c5fd1e0340569
parent[slx-network] ensure /opt/openslx/scripts exists (diff)
downloadsystemd-init-56d05d81051bbf59b276f6a24107ac14553cc602.tar.gz
systemd-init-56d05d81051bbf59b276f6a24107ac14553cc602.tar.xz
systemd-init-56d05d81051bbf59b276f6a24107ac14553cc602.zip
[dnbd3-rootfs] fix typo
-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 c722e734..64911460 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
@@ -49,7 +49,7 @@ 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 || \
logging.warn "Failed to link \"$source_path\" to \"$target_path\"."
done
}