1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-31 14:50:15 +03:00

tmpfiles: fix copypasta in create_symlink() (FIFO -> symlink)

This commit is contained in:
Mike Yuan 2025-02-09 15:38:05 +01:00
parent 9ccc369ff3
commit 6f91e7a3be
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3

View File

@ -2423,7 +2423,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);