diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-06-16 23:29:27 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-06-16 23:30:30 -0400 |
commit | 735a1a2ea5fb849e797c956bddf445a2a5bdf3d3 (patch) | |
tree | 2667863f4499efc3f93335f9531a44a5fff05594 /src/systemctl | |
parent | 01b85ba3add49db47a75a26c80a55d6af24de524 (diff) |
systemctl: reverse order of args when verbosely creating symlinks
This was backwards. The symlink itself points to the source unit, not
the other way around.
Diffstat (limited to 'src/systemctl')
-rw-r--r-- | src/systemctl/systemctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index fc6329cdd0..727be58d0a 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -1928,7 +1928,7 @@ static void dump_unit_file_changes(const UnitFileChange *changes, unsigned n_cha for (i = 0; i < n_changes; i++) { if (changes[i].type == UNIT_FILE_SYMLINK) - log_info("Created symlink from %s to %s.", changes[i].source, changes[i].path); + log_info("Created symlink from %s to %s.", changes[i].path, changes[i].source); else log_info("Removed symlink %s.", changes[i].path); } @@ -1945,7 +1945,7 @@ static int deserialize_and_dump_unit_file_changes(sd_bus_message *m) { while ((r = sd_bus_message_read(m, "(sss)", &type, &path, &source)) > 0) { if (!arg_quiet) { if (streq(type, "symlink")) - log_info("Created symlink from %s to %s.", source, path); + log_info("Created symlink from %s to %s.", path, source); else log_info("Removed symlink %s.", path); } |