Permalink
Browse files

Update lib/push/daemon.rb

Fix undefined reference to configuration in daemon
  • Loading branch information...
1 parent 937f2e6 commit 2c329abe3fb6e030dbdfa4e164498303e52d3ef7 @ippy04 committed Oct 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/push/daemon.rb
View
@@ -99,7 +99,7 @@ def self.daemonize
def self.write_pid_file
if !config[:pid_file].blank?
begin
- File.open(configuration[:pid_file], 'w') do |f|
+ File.open(config[:pid_file], 'w') do |f|
f.puts $$
end
rescue SystemCallError => e

0 comments on commit 2c329ab

Please sign in to comment.