veyron/lib/exec: Allow SetReady to be called multiple times.

We cache the error generated by the first call and return it directly
on subsequent calls.  This allows us to check the SetReady error
in the runtime initialization code even though the modules framework
sets ready itself when you run in a module.

Change-Id: I279e37ff88ddc698e274241d2037c133a3916fce
3 files changed
tree: 697e227b88981457a3458e67ead7ffbcbc0ec1cd
  1. lib/
  2. profiles/
  3. runtimes/
  4. security/
  5. services/
  6. tools/