From 56d05d81051bbf59b276f6a24107ac14553cc602 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 6 May 2020 16:58:56 +0200 Subject: [dnbd3-rootfs] fix typo --- .../dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3-55-g7522