]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - misc-utils/rename.c
rename: consolidate printing the symlink in addition to its target
[thirdparty/util-linux.git] / misc-utils / rename.c
index ba71174e66f5cdc1a0612d45f80803d313f40537..a820fb63b640cd4328696b6edcb5a029e0a455dc 100644 (file)
@@ -79,7 +79,7 @@ static int do_symlink(char *from, char *to, char *s, int verbose, int noact, int
 
        if (ret == 1 && nooverwrite && lstat(target, &sb) == 0) {
                if (verbose)
-                       printf(_("Skipping existing link: `%s'\n"), target);
+                       printf(_("Skipping existing link: `%s' -> `%s'\n"), s, target);
 
                ret = 0;
        }