Use "unless"

Guidelines favor "unless".
unstable
sinn3r 2013-06-30 18:32:15 -05:00
parent 82eed1582f
commit 43c4f07e06
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class Metasploit3 < Msf::Post
regex = Regexp.new(datastore['REGEX'])
target_pid = client.sys.process[name]
if not target_pid
unless target_pid
print_error("Could not access the target process")
return
end