We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ba5e9c commit 4eb42a9Copy full SHA for 4eb42a9
modules/auxiliary/admin/scada/phoenix_command.rb
@@ -211,11 +211,11 @@ def run
211
if device.start_with?('ILC 15', 'ILC 17')
212
devicetype = '15x'
213
print_status('--> Detected 15x/17x series, getting current CPU state:')
214
- ractionport.nil? (rport = 41100) : (rport = ractionport)
+ ractionport.nil? ? (rport = 41100) : (rport = ractionport)
215
elsif device.start_with?('ILC 39')
216
devicetype = '39x'
217
print_status('--> Detected 39x series, getting current CPU state:')
218
- ractionport.nil? (rport = 20547) : (rport = ractionport)
+ ractionport.nil? ? (rport = 20547) : (rport = ractionport)
219
else
220
print_error('Only ILC and (some) RFC devices are supported.')
221
return
0 commit comments