mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-26 08:08:59 +01:00
Clean up logging and variable naming
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1512 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
7fec7bbb15
commit
e1ec9b0c0b
@ -3685,6 +3685,13 @@ process_rule() # $1 = target
|
||||
expandv logtag
|
||||
fi
|
||||
|
||||
if [ $loglevel = none ]; then
|
||||
loglevel=
|
||||
logtag=
|
||||
[ $target = LOG ] && return
|
||||
fi
|
||||
|
||||
loglevel=${loglevel%\!}
|
||||
fi
|
||||
#
|
||||
# Save the original target in 'logtarget' for logging rules
|
||||
|
Loading…
Reference in New Issue
Block a user