aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorJosh Soref <2119212+jsoref@users.noreply.github.com>2022-02-22 17:01:28 -0500
committerGitHub <noreply@github.com>2022-02-22 22:01:28 +0000
commit2b8e6958f40ef36c1508118ac36a43694283a83c (patch)
treefa9a9b6843546bdb297b00bc78b83ab4c318f724 /utils
parent85faeb34719e2b0898d319b02416f669d70f4562 (diff)
downloadrspamd-2b8e6958f40ef36c1508118ac36a43694283a83c.tar.gz
rspamd-2b8e6958f40ef36c1508118ac36a43694283a83c.zip
Spelling (#4086)
[Rework] Massive spelling fix from @jsoref
Diffstat (limited to 'utils')
-rw-r--r--utils/asn.pl2
-rwxr-xr-xutils/redirector.pl.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/asn.pl b/utils/asn.pl
index 61e58d760..3099c1f78 100644
--- a/utils/asn.pl
+++ b/utils/asn.pl
@@ -161,7 +161,7 @@ my $as_info = {};
# first 7 fields for this two formats are same
use constant {
F_REGISTRY => 0, # {afrinic,apnic,arin,iana,lacnic,ripencc}
- F_CC => 1, # ISO 3166 2-letter contry code
+ F_CC => 1, # ISO 3166 2-letter country code
F_TYPE => 2, # {asn,ipv4,ipv6}
F_START => 3,
F_VALUE => 4,
diff --git a/utils/redirector.pl.in b/utils/redirector.pl.in
index 4fbe3844a..fb57bf597 100755
--- a/utils/redirector.pl.in
+++ b/utils/redirector.pl.in
@@ -500,7 +500,7 @@ if ( -f $cfg{cfg_file} ) {
_log( LOG_ALERT, "Process is already started, check $cfg{pidfile}" )
if Proc::PidUtil::is_running( $cfg{pidfile} );
-# Drop privilleges
+# Drop privileges
if ( $> == 0 ) {
my $uid = getpwnam( $cfg{user} )
or _log( LOG_ALERT, "user $cfg{user} unknown" );