diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-06-17 01:38:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-06-17 02:43:44 +0200 |
commit | 749ebb2da4933de68bfaa4d6f6ffd9e4692ee547 (patch) | |
tree | 50e393d1e6ab6af2b840a2b27abf104ba7d55b58 /src/systemctl/systemctl.c | |
parent | 278fa5758c8e30f03c8c50f15873d55edfc4cbaf (diff) |
systemctl: output human readable strings in "systemctl enable" and "systemctl disable"
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r-- | src/systemctl/systemctl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 56f5084ad9..fc6329cdd0 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -1928,9 +1928,9 @@ 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("ln -s '%s' '%s'", changes[i].source, changes[i].path); + log_info("Created symlink from %s to %s.", changes[i].source, changes[i].path); else - log_info("rm '%s'", changes[i].path); + log_info("Removed symlink %s.", changes[i].path); } } @@ -1945,9 +1945,9 @@ 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("ln -s '%s' '%s'", source, path); + log_info("Created symlink from %s to %s.", source, path); else - log_info("rm '%s'", path); + log_info("Removed symlink %s.", path); } } if (r < 0) |