daemon/session2: avoid incorrectly generated errors
The _try_
functions additionally return positive values on success,
and the code around didn't deal with that.
So far there's no evidence that this caused any issues beyond debug-logs:
[prlayr] ... iteration of group ... ended with status 'Unknown error ...
Edited by Vladimír Čunát