From c73cd8248eacf8e13d53a455e4a7d57b08bfc41e Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Fri, 26 May 2017 10:10:20 -0500 Subject: [PATCH] whine more uniformly --- msfupdate | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/msfupdate b/msfupdate index 913d09ccba..c10680cdd6 100755 --- a/msfupdate +++ b/msfupdate @@ -86,7 +86,7 @@ class Msfupdate def validate_args valid = true - if binary_install? || apt? + if binary_install? if @git_branch stderr.puts "[-] ERROR: git-branch is not supported on this installation" valid = false @@ -96,7 +96,7 @@ class Msfupdate valid = false end end - if apt? || git? + if git? if @offline_file stderr.puts "[-] ERROR: offline-file option is not supported on this installation" valid = false @@ -135,8 +135,8 @@ class Msfupdate Dir.chdir(@msfbase_dir) do if apt? - stderr.puts "msfupdate is not supported on Kali Linux, since it is a normal OS package." - stderr.puts "Please use 'apt update; apt install metasploit-framework' instead." + stderr.puts "[-] ERROR: msfupdate is not supported on Kali Linux." + stderr.puts "[-] Please run 'apt update; apt install metasploit-framework' instead." elsif binary_install? update_binary_install! elsif git?