From: Simon Ruderich Date: Sun, 14 Sep 2014 14:47:53 +0000 (+0200) Subject: lib.sh: link(): add missing newline in error messages X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=a003c8f197cb3f3c05430fa644dc528c34ab3cd9 lib.sh: link(): add missing newline in error messages --- 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