link.sh: Improve error message.

This commit is contained in:
raute 2023-12-01 16:54:33 +01:00
parent 1bac8ab0ed
commit 7018cfb9e6
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ link() {
fi fi
if [ -e "$dst" ] && [ ! -L "$dst" ]; then if [ -e "$dst" ] && [ ! -L "$dst" ]; then
echo "Destination exists and is not a symlink." >&2 echo "Destination exists and is not a symlink: $dst" >&2
exit 4 exit 4
fi fi