summaryrefslogtreecommitdiffstats
path: root/src/boot/bless-boot-generator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/bless-boot-generator.c')
-rw-r--r--src/boot/bless-boot-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/bless-boot-generator.c b/src/boot/bless-boot-generator.c
index 001c85a238..44a14f027d 100644
--- a/src/boot/bless-boot-generator.c
+++ b/src/boot/bless-boot-generator.c
@@ -62,7 +62,7 @@ int main(int argc, char *argv[]) {
* even emergency.target. */
p = strjoina(arg_dest, "/" SPECIAL_BASIC_TARGET ".wants/systemd-bless-boot.service");
(void) mkdir_parents(p, 0755);
- if (symlink(SYSTEM_DATA_UNIT_PATH "/systemd-bless-boot.service", p) < 0) {
+ if (symlink(SYSTEM_DATA_UNIT_DIR "/systemd-bless-boot.service", p) < 0) {
log_error_errno(errno, "Failed to create symlink '%s': %m", p);
return EXIT_FAILURE;
}