From c4f0b04389bf6fb1ef9958eb1659ad84b445c6b0 Mon Sep 17 00:00:00 2001 From: Wade Alcorn Date: Tue, 17 Jan 2012 11:48:07 +1000 Subject: [PATCH] Changed method of stopping deprecation warnings to use $VERBOSE = nil --- beef | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/beef b/beef index dce862144..fe37f45af 100755 --- a/beef +++ b/beef @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby -W0 +#!/usr/bin/env ruby # # Copyright 2012 Wade Alcorn wade@bindshell.net @@ -16,6 +16,9 @@ # limitations under the License. # +# stop deprecation warning from being displayed +$VERBOSE = nil + # @note Version check to ensure BeEF is running Ruby 1.9 > if RUBY_VERSION < '1.9' puts "\n"