Permalink
Browse files

Set stateful if with-state passed

  • Loading branch information...
1 parent 8b53769 commit 5fa3ee540cd0c16d37602d3fd6bb2375ad157114 @gdb gdb committed Oct 11, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 bin/einhorn
View
@@ -270,6 +270,7 @@ if true # $0 == __FILE__
end
opts.on('--with-state-fd STATE', '[Internal option] With file descriptor containing state') do |fd|
+ Einhorn::TransientState.stateful = true
read = IO.for_fd(Integer(fd))
state = read.read
read.close

0 comments on commit 5fa3ee5

Please sign in to comment.