Browse files

Added rand in proccess_as_parent to reseed it

  • Loading branch information...
1 parent 317010c commit 5ef9dd769a192b46334665d7bd666341c2e69887 @jamster jamster committed with Dec 10, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/shotgun.rb
View
1 lib/shotgun.rb
@@ -36,6 +36,7 @@ def call!(env)
# ==== Stuff that happens in the parent process
def proceed_as_parent
+ rand # Reseeds
@writer.close
result = Marshal.load(@reader)
@reader.close

0 comments on commit 5ef9dd7

Please sign in to comment.