Skip to content

Commit

Permalink
Fix problem with kill_commands now being an array and kill! #12
Browse files Browse the repository at this point in the history
  • Loading branch information
quirkey committed Jan 23, 2012
1 parent 4f54de8 commit 9303d5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/vegas/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,10 @@ def kill_commands
WINDOWS ? [1] : [:INT, :TERM]
end

def kill_command
kill_commands[0]
end

def delete_pid!
File.delete(pid_file) if File.exist?(pid_file)
end
Expand Down

0 comments on commit 9303d5b

Please sign in to comment.