From 3e96241318cd5dcef69bf00a43be14bf58a72097 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 27 Jan 2010 21:10:47 +0100 Subject: checklinks: Update docs, remove allcaps status messages --- bin/checklinks | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'bin/checklinks') diff --git a/bin/checklinks b/bin/checklinks index 78318d2..68700d9 100755 --- a/bin/checklinks +++ b/bin/checklinks @@ -82,7 +82,7 @@ sub check_symlink { print_format('absolute', $src, $dst, 'yellow', 0); } elsif (not -l "$base/$src" and -e "$base/$src") { - print_format('EXISTS', $src, $dst, 'bold red', 2); + print_format('exists', $src, $dst, 'bold red', 2); } elsif (-l "$base/$src") { unlink("$base/$src"); @@ -237,13 +237,13 @@ and replaced with a link to the target The link did not exist and has been created -=item EXISTS (soft links only) +=item exists (soft links only) The source already exists, but is not a symlink -=item no dest +=item no dest (hard links only) -The link destination does not exist +The link destination does not exist and therefore cannot be hardlinked to =back @@ -289,8 +289,4 @@ Example: =head1 DIAGNOSTICS The exit value is the number of files with grave errors -(a status of "EXISTS" or "no dst"). - -=head1 BUGS - -There are no checks whether the symlink target actually exists. +(a status of "exists" or "no dest"). -- cgit v1.2.3