sbs

A Simple Blogging System.
git clone https://git.sr.ht/~jbauer/sbs
Log | Files | Refs | README | LICENSE

commit fba8da8d119d4b8bb61eefd031a5e8f37e31ba8a
parent a0b801f064aac0cc3e533e019fd3d61a0cf27e94
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Wed, 17 Aug 2022 18:30:26 -0400

Fix missing newlines for error messages

Diffstat:
Msbs | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sbs b/sbs @@ -75,14 +75,14 @@ parse_configuration() if [ -n "$value" ]; then eval "$key='$value'" else - printf "Error: %s not configured." "$key" + printf "Error: %s not configured.\n" "$key" exit 1 fi done # Validate configuration if ! echo "$siteURL" | grep -qE '^https?://.*\..*/$'; then - echo "Error: siteURL should be in canonical form (e.g. https://example.com/)" + echo "Error: siteURL should be in canonical form (e.g. https://example.com/).\n" exit 1 fi }