forked from extern/shorewall_code
Don't assume that statistical provider interfaces are optional
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
f989c2f5f6
commit
c7e403bad0
@ -599,7 +599,11 @@ debug_restore_input() {
|
||||
}
|
||||
|
||||
interface_enabled() {
|
||||
return $(cat ${VARDIR}/$1.status)
|
||||
status=0
|
||||
|
||||
[ -f ${VARDIR}/${1}.status ] && status=$(cat ${VARDIR}/${1}.status)
|
||||
|
||||
return status
|
||||
}
|
||||
|
||||
distribute_load() {
|
||||
|
Loading…
Reference in New Issue
Block a user