From a003c8f197cb3f3c05430fa644dc528c34ab3cd9 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 14 Sep 2014 16:47:53 +0200 Subject: [PATCH] lib.sh: link(): add missing newline in error messages --- lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib.sh b/lib.sh index d19669b..70be68d 100644 --- a/lib.sh +++ b/lib.sh @@ -154,14 +154,14 @@ link() { # 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 -- 2.43.2