From a4c60e90dbe9e3f5acee70b34d183b788f429349 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 17 Jan 2021 23:23:16 -0300 Subject: scripts/post.sh: Add trailing newline --- scripts/post.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/post.sh b/scripts/post.sh index 25579fa4..d8447345 100755 --- a/scripts/post.sh +++ b/scripts/post.sh @@ -39,7 +39,7 @@ case "$TYPE" in DIR=_slides ;; *) - red "Invalid type '$TYPE'" + red "Invalid type '$TYPE'\n" usage exit 2 ;; @@ -71,7 +71,7 @@ OUT="$DIR/$PASTE_DATE-$SLUG_TITLE.md" cd ~/dev/libre/website [ -f "$OUT" ] && { - red "Pastebin named $OUT already exists." + red "Pastebin named $OUT already exists.\n" exit 1 } -- cgit v1.3