mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-26 12:42:40 +02:00
Small optimization in 'shorecap'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3759 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
e395d3ee91
commit
704b0373c9
@ -288,12 +288,7 @@ determine_capabilities() {
|
||||
|
||||
report_capability() # $1 = Capability
|
||||
{
|
||||
local setting
|
||||
|
||||
eval setting=\$$1
|
||||
|
||||
echo $1=$setting
|
||||
|
||||
eval echo $1=\$$1
|
||||
}
|
||||
|
||||
report_capabilities() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user