From aa213be8c9a487de05cf2b0c1c68160d0e4c90f4 Mon Sep 17 00:00:00 2001 From: Wade Alcorn Date: Fri, 13 Jan 2012 16:52:00 +1000 Subject: [PATCH] Fixed beef and Xvfb shutdown bug --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 70e910e67..4d989cf0f 100644 --- a/Rakefile +++ b/Rakefile @@ -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 ################################