X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=lib.sh;fp=lib.sh;h=70be68df0433531e27c5f7ab58e99bf8350a305e;hp=d19669b59e480d0c95e357c4c8abdeb6b6184112;hb=a003c8f197cb3f3c05430fa644dc528c34ab3cd9;hpb=224cc5ab9e3d52a8753d3a23ca2b45988a0785c4 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