Added workaround for debian 'env' issues

This commit is contained in:
Wade Alcorn
2012-01-13 15:50:32 +10:00
parent 567087ce03
commit 1f3638e7ae

View File

@@ -65,7 +65,7 @@ end
task :beef_start => 'beef' do
printf "Starting BeEF (wait 10 seconds)..."
@beef_process_id = IO.popen("./beef -x 2> /dev/null", "w+")
@beef_process_id = IO.popen("ruby ./beef -x 2> /dev/null", "w+")
delays = [2, 2, 1, 1, 1, 0.5, 0.5 , 0.5, 0.3, 0.2, 0.1, 0.1, 0.1, 0.05, 0.05]
delays.each do |i| # delay for 10 seconds
printf '.'