link.sh: Improve error message.
This commit is contained in:
parent
1bac8ab0ed
commit
7018cfb9e6
2
link.sh
2
link.sh
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user