From 1bbf575e91762a38654f27477593e424be22133a Mon Sep 17 00:00:00 2001 From: Peter Date: Wed, 17 Sep 2014 22:36:39 +0200 Subject: [PATCH] Small code clean --- wpscan.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wpscan.rb b/wpscan.rb index 59681319..65516767 100755 --- a/wpscan.rb +++ b/wpscan.rb @@ -47,10 +47,8 @@ def main puts "#{blue('[i]')} Updating the Database ..." DbUpdater.new(DATA_DIR).update(wpscan_options.verbose) puts "#{blue('[i]')} Update completed." - # exit program if only --update option is used - if wpscan_options.update - exit(0) - end + # Exit program if only --update option is used + exit(0) if wpscan_options.update end unless wpscan_options.url