Skip to content

Commit c68986e

Browse files
author
jvazquez-r7
committed
Favor unless over if not
1 parent 3a2a2a9 commit c68986e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/post/windows/manage/portproxy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def run
4848
laddress = datastore['LADDRESS']
4949
caddress = datastore['CADDRESS']
5050

51-
return if not enable_portproxy(lport,cport,laddress,caddress,type,ipv6_xp)
51+
return unless enable_portproxy(lport,cport,laddress,caddress,type,ipv6_xp)
5252
fw_enable_ports(lport)
5353

5454
end

0 commit comments

Comments
 (0)