mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-28 03:25:27 +03:00
shared/install: use "→" instead of "pointing to" for a symlink
It's quite a bit shorter and just as readable. (The full sentence with "pointing to" was added to replace a text that used "ln -s %s %s". Using the "ln" syntax is indeed unclear, because it's not obvious which is the source and which is the target, and because symlink(2) uses the opposite order to ln(1). But with the unicode arrow there should be no ambiguity.)
This commit is contained in:
parent
8515830341
commit
a760db24bb
@ -40,6 +40,7 @@
|
||||
#include "hashmap.h"
|
||||
#include "install-printf.h"
|
||||
#include "install.h"
|
||||
#include "locale-util.h"
|
||||
#include "log.h"
|
||||
#include "macro.h"
|
||||
#include "mkdir.h"
|
||||
@ -336,7 +337,10 @@ void unit_file_dump_changes(int r, const char *verb, const UnitFileChange *chang
|
||||
switch(changes[i].type) {
|
||||
case UNIT_FILE_SYMLINK:
|
||||
if (!quiet)
|
||||
log_info("Created symlink %s, pointing to %s.", changes[i].path, changes[i].source);
|
||||
log_info("Created symlink %s %s %s.",
|
||||
changes[i].path,
|
||||
draw_special_char(DRAW_ARROW),
|
||||
changes[i].source);
|
||||
break;
|
||||
case UNIT_FILE_UNLINK:
|
||||
if (!quiet)
|
||||
|
Loading…
Reference in New Issue
Block a user