SF bug #978308, Spurious errors taking bool of dead pro
Need to return -1 on error.

Needs backport.
2 files changed