diff options
| author | EuAndreh <eu@euandre.org> | 2021-01-17 23:23:16 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-01-17 23:23:16 -0300 |
| commit | a4c60e90dbe9e3f5acee70b34d183b788f429349 (patch) | |
| tree | 62376eaab24738dc04701aa9a4fea406c2e8e964 | |
| parent | Fix color sourcing in gc.sh script (diff) | |
| download | dotfiles-a4c60e90dbe9e3f5acee70b34d183b788f429349.tar.gz dotfiles-a4c60e90dbe9e3f5acee70b34d183b788f429349.tar.xz | |
scripts/post.sh: Add trailing newline
| -rwxr-xr-x | scripts/post.sh | 4 |
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 } |
