From 8c9560f91c0a56ba4f65fcbbcbecc351cce805f1 Mon Sep 17 00:00:00 2001 From: gSpot Date: Mon, 10 Feb 2025 16:34:34 +0300 Subject: [PATCH] Minor fixes. --- ruantiblock/files/usr/bin/ruantiblock | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ruantiblock/files/usr/bin/ruantiblock b/ruantiblock/files/usr/bin/ruantiblock index 6e0da76..4368ff1 100755 --- a/ruantiblock/files/usr/bin/ruantiblock +++ b/ruantiblock/files/usr/bin/ruantiblock @@ -1067,7 +1067,8 @@ MakeToken() { CheckDnsmasqConfDir() { if [ ! -d "$DNSMASQ_CONFDIR" ]; then - echo " Error! DNSMASQ_CONFDIR (${DNSMASQ_CONFDIR}) does not exists." >&2 + echo " Error! DNSMASQ_CONFDIR (${DNSMASQ_CONFDIR}) does not exists" >&2 + MakeLogRecord "err" "Error! DNSMASQ_CONFDIR (${DNSMASQ_CONFDIR}) does not exists" return 1 fi return 0