aboutsummaryrefslogtreecommitdiff
path: root/scripts/post.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-17 23:23:16 -0300
committerEuAndreh <eu@euandre.org>2021-01-17 23:23:16 -0300
commita4c60e90dbe9e3f5acee70b34d183b788f429349 (patch)
tree62376eaab24738dc04701aa9a4fea406c2e8e964 /scripts/post.sh
parentFix color sourcing in gc.sh script (diff)
downloaddotfiles-a4c60e90dbe9e3f5acee70b34d183b788f429349.tar.gz
dotfiles-a4c60e90dbe9e3f5acee70b34d183b788f429349.tar.xz
scripts/post.sh: Add trailing newline
Diffstat (limited to 'scripts/post.sh')
-rwxr-xr-xscripts/post.sh4
1 files 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
}