24 lines
1.1 KiB
Diff
24 lines
1.1 KiB
Diff
From 6caab0c58c8c43c5d4244e2ef2bb739aa06d81c0 Mon Sep 17 00:00:00 2001
|
|
From: Mike Yuan <me@yhndnzj.com>
|
|
Date: Sun, 9 Feb 2025 15:38:05 +0100
|
|
Subject: [PATCH] tmpfiles: fix copypasta in create_symlink() (FIFO -> symlink)
|
|
|
|
(cherry picked from commit 6f91e7a3bea2c5046354b31cb650b54e3b2884d5)
|
|
---
|
|
src/tmpfiles/tmpfiles.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
|
|
index bff05cda6f..b699a1e5be 100644
|
|
--- a/src/tmpfiles/tmpfiles.c
|
|
+++ b/src/tmpfiles/tmpfiles.c
|
|
@@ -2422,7 +2422,7 @@ static int create_symlink(Context *c, Item *i) {
|
|
return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path);
|
|
if (r == O_DIRECTORY)
|
|
return log_error_errno(SYNTHETIC_ERRNO(EISDIR),
|
|
- "Cannot open path '%s' for creating FIFO, is a directory.", i->path);
|
|
+ "Cannot open path '%s' for creating symlink, is a directory.", i->path);
|
|
|
|
if (arg_dry_run) {
|
|
log_info("Would create symlink %s -> %s", i->path, i->argument);
|