Changed method of stopping deprecation warnings to use $VERBOSE = nil
This commit is contained in:
5
beef
5
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"
|
||||
|
||||
Reference in New Issue
Block a user