Fixed beef and Xvfb shutdown bug

This commit is contained in:
Wade Alcorn
2012-01-13 16:52:00 +10:00
parent de30ecf96f
commit aa213be8c9

View File

@@ -79,7 +79,7 @@ end
task :xserver_stop do
puts "\nShutting down X11 Server...\n"
Process.kill 'INT', -Process.getpgrp
sh "ps -ef|grep Xvfb |grep -v grep| awk '{print $2}'| xargs kill"
end
################################
@@ -100,7 +100,7 @@ end
task :beef_stop do
puts "\nShutting down BeEF...\n"
Process.kill 'INT', -Process.getpgrp
sh "ps -ef|grep beef |grep -v grep| awk '{print $2}'| xargs kill"
end
################################