# Abort if the target file exists and is no symbolic link. Prevents
# overwriting real files.
if test -e "$target" && test ! -h "$target"; then
- printf "link(): target '%s' exists already and is no symbolic link!" \
+ printf "link(): target '%s' exists already and is no symbolic link!\n" \
"$target" >&2
exit 1
fi
# Make sure the source exists.
if test ! -e "$source"; then
- printf "link(): source '%s' doesn't exist!" "$source" >&2
+ printf "link(): source '%s' doesn't exist!\n" "$source" >&2
exit 1
fi