mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
if block ends with a return statement drop this else and outdent its block
This commit is contained in:
parent
c2db4b0d67
commit
5619127f93
1 changed files with 1 additions and 2 deletions
|
@ -124,9 +124,8 @@ func (p *TcpProxy) Configure() error {
|
|||
if scriptPath != "" {
|
||||
if err, p.script = LoadTcpProxyScript(scriptPath, p.Session); err != nil {
|
||||
return err
|
||||
} else {
|
||||
log.Debug("TCP proxy script %s loaded.", scriptPath)
|
||||
}
|
||||
log.Debug("TCP proxy script %s loaded.", scriptPath)
|
||||
}
|
||||
|
||||
if !p.Session.Firewall.IsForwardingEnabled() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue