projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0088602
)
rsyslog: apply shellcheck SC3014 to init
author
Giacomo Sanchietti
<giacomo.sanchietti@nethesis.it>
Wed, 6 Jul 2022 15:00:56 +0000
(17:00 +0200)
committer
Rosen Penev
<rosenp@gmail.com>
Thu, 7 Jul 2022 17:34:58 +0000
(10:34 -0700)
Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
admin/rsyslog/files/rsyslog.init
patch
|
blob
|
history
diff --git
a/admin/rsyslog/files/rsyslog.init
b/admin/rsyslog/files/rsyslog.init
index ef5f757fb0001ad388503c7052cb6a72988f4ca9..77a9fc70505dbf817096752b5e39a1bb8850dd95 100644
(file)
--- a/
admin/rsyslog/files/rsyslog.init
+++ b/
admin/rsyslog/files/rsyslog.init
@@
-5,7
+5,6
@@
# shellcheck disable=SC2034
# shellcheck disable=SC3037
# shellcheck disable=SC2154
-# shellcheck disable=SC3014
# shellcheck disable=SC2129
START=20
@@
-47,7
+46,7
@@
handle_forwarder() {
config_get port "${config}" port "514"
config_get rfc "${config}" rfc "3164"
- if [ "$rfc" =
=
"5424" ]; then
+ if [ "$rfc" = "5424" ]; then
opts='Template="RSYSLOG_SyslogProtocol23Format" TCP_Framing="octet-counted"'
fi