feat(params): Cleanup journald pre-req fail msg

This commit is contained in:
2026-07-24 02:16:08 -06:00
parent aebf8042e3
commit e4e967e227
+1 -1
View File
@@ -382,7 +382,7 @@ if [ ! -f "$accountFile" ] || [ ! -s "$accountFile" ]; then
badParam errMsg "Cannot find the Cloudflare credentials file (${accountFile}) or it is empty. Exiting." badParam errMsg "Cannot find the Cloudflare credentials file (${accountFile}) or it is empty. Exiting."
fi fi
if [ "$logToJournal" -eq 1 ] && ! command -v logger >/dev/null 2>&1; then if [ "$logToJournal" -eq 1 ] && ! command -v logger >/dev/null 2>&1; then
printf "\n%sThis script requires 'logger' be installed to write entries to your journaling system. Exiting.%s\n\n" "$err" "$norm" printf "\n%sThis script requires that 'logger' is installed to write journald entries. Exiting.%s\n\n" "$err" "$norm"
exit 2 exit 2
fi fi
# turn off log file colourization if parameter is set # turn off log file colourization if parameter is set