Skip to content

Commit 18c54eb

Browse files
committed
Minor rubocop gripe
1 parent 15e44e2 commit 18c54eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/local/at_persistence.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def exploit
7272
fail_with(Failure::NoAccess, 'User denied cron via at.deny')
7373
end
7474

75-
unless payload_file = datastore['PATH'] || cmd_exec('mktemp')
75+
unless (payload_file = datastore['PATH'] || cmd_exec('mktemp'))
7676
fail_with(Failure::BadConfig, 'Unable to find suitable location for payload')
7777
end
7878

0 commit comments

Comments
 (0)