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