mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-13 09:08:12 +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
@ -3684,7 +3684,14 @@ process_rule() # $1 = target
|
|||||||
loglevel="${loglevel%:*}"
|
loglevel="${loglevel%:*}"
|
||||||
expandv logtag
|
expandv logtag
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ $loglevel = none ]; then
|
||||||
|
loglevel=
|
||||||
|
logtag=
|
||||||
|
[ $target = LOG ] && return
|
||||||
|
fi
|
||||||
|
|
||||||
|
loglevel=${loglevel%\!}
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
# Save the original target in 'logtarget' for logging rules
|
# Save the original target in 'logtarget' for logging rules
|
||||||
|
Loading…
Reference in New Issue
Block a user